Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 203.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 47.92 kB / 377.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2736, allocations: 53.38 MB / 431.1 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004681/0.2783, allocations: 3.118 MB / 434.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2798, allocations: 0.8338 MB / 435.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.28, allocations: 4 kB / 435.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.2802, allocations: 67.3 kB / 435.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.2804, allocations: 127 kB / 435.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.2808, allocations: 155.7 kB / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005244/0.2813, allocations: 498 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000247/0.2816, allocations: 131 kB / 436 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.2818, allocations: 199.3 kB / 436.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.2821, allocations: 203.1 kB / 436.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.2822, allocations: 52 kB / 436.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.349e-05/0.2823, allocations: 52 kB / 436.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.907e-05/0.2824, allocations: 99.62 kB / 436.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.2825, allocations: 175.2 kB / 436.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.2832, allocations: 0.576 MB / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2832, allocations: 0 / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2832, allocations: 0 / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.2832, allocations: 4 kB / 437.4 MB, free: 328 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001176/0.2844, allocations: 0.6339 MB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2844, allocations: 16.03 kB / 438 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.03e-05/0.2845, allocations: 70.72 kB / 438.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.2847, allocations: 52.64 kB / 438.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004779/0.2851, allocations: 270.7 kB / 438.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.2852, allocations: 29.38 kB / 438.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.2852, allocations: 35.94 kB / 438.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/0.286, allocations: 493 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.286, allocations: 0 / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.2861, allocations: 12 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.2861, allocations: 8 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006564/0.2867, allocations: 303.8 kB / 439.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.289, allocations: 1.295 MB / 440.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.2896, allocations: 226.7 kB / 440.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.2898, allocations: 93.03 kB / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2899, allocations: 0 / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.2899, allocations: 38.5 kB / 440.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.082e-06/0.2899, allocations: 4 kB / 440.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.002252/0.2921, allocations: 0.6002 MB / 441.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.2922, allocations: 55.34 kB / 441.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.2926, allocations: 320.5 kB / 441.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.2926, allocations: 29.7 kB / 441.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.2928, allocations: 236.1 kB / 442.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.2928, allocations: 55.53 kB / 442.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.131e-05/0.2929, allocations: 53.66 kB / 442.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.2931, allocations: 338.8 kB / 442.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.2933, allocations: 87.95 kB / 442.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.2936, allocations: 162.1 kB / 442.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.294, allocations: 249.2 kB / 443.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.294, allocations: 0 / 443.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001048/0.2951, allocations: 429.7 kB / 443.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2951, allocations: 4 kB / 443.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2951, allocations: 4 kB / 443.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/0.2956, allocations: 121.6 kB / 443.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.2957, allocations: 35.92 kB / 443.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/0.3, allocations: 3.338 MB / 447 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.3002, allocations: 43.72 kB / 447 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.3002, allocations: 12 kB / 447 MB, free: 6.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.3004, allocations: 153.7 kB / 447.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.3005, allocations: 31.86 kB / 447.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.883e-05/0.3005, allocations: 34.25 kB / 447.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3005, allocations: 0 / 447.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3005, allocations: 0 / 447.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3006, allocations: 3.984 kB / 447.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.3009, allocations: 292.6 kB / 447.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3009, allocations: 0 / 447.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.301, allocations: 16.11 kB / 447.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003774/0.3014, allocations: 125.6 kB / 447.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.3014, allocations: 4 kB / 447.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003826/0.3052, allocations: 3.245 MB / 450.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3052, allocations: 0 / 450.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/0.3061, allocations: 440.1 kB / 451.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.3062, allocations: 39.73 kB / 451.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.3062, allocations: 0 / 451.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.3065, allocations: 31.98 kB / 451.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.3065, allocations: 11.97 kB / 451.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.3065, allocations: 8 kB / 451.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.3068, allocations: 223.1 kB / 451.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3068, allocations: 0 / 451.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005115/0.3073, allocations: 99.84 kB / 451.8 MB, free: 1.039 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001287/0.3086, allocations: 0.9675 MB / 452.7 MB, free: 36 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.3098, allocations: 0.4972 MB / 453.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3098, allocations: 0 / 453.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.3104, allocations: 341.7 kB / 453.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.3108, allocations: 52.34 kB / 453.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/0.3161, allocations: 3.251 MB / 456.9 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.3163, allocations: 173.1 kB / 457 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.3164, allocations: 38.89 kB / 457.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.3166, allocations: 95.41 kB / 457.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3166, allocations: 0 / 457.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04078/0.3574, allocations: 7.882 MB / 465.1 MB, free: 3.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.01, allocations: 7.547 kB / 465.1 MB, free: 3.684 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Subtracter.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.32572204299504]