Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.002531/0.002531, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.003013/0.003013, allocations: 161.3 kB / 24.27 MB, free: 156 kB / 18.57 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.56/1.56, allocations: 177.2 MB / 204.6 MB, free: 5.609 MB / 186.7 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: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.033e-05, allocations: 2.312 kB / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.147/0.147, allocations: 38.36 MB / 310.7 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004489/0.1515, allocations: 4.642 MB / 315.3 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.1517, allocations: 10.06 kB / 315.3 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.1525, allocations: 284.5 kB / 315.6 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007305/0.1532, allocations: 0.5035 MB / 316.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003612/0.1568, allocations: 1.662 MB / 317.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009862/0.1578, allocations: 1.284 MB / 319.1 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.158, allocations: 118.5 kB / 319.2 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005768/0.1586, allocations: 0.6485 MB / 319.8 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004174/0.159, allocations: 368.5 kB / 320.2 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.908e-05/0.159, allocations: 44.97 kB / 320.2 MB, free: 1.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.1602, allocations: 0.731 MB / 321 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1603, allocations: 149 kB / 321.1 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.1605, allocations: 214.2 kB / 321.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.1616, allocations: 1.169 MB / 322.5 MB, free: 352 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1616, allocations: 0 / 322.5 MB, free: 352 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1616, allocations: 0 / 322.5 MB, free: 352 kB / 266.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1616, allocations: 0 / 322.5 MB, free: 352 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001181/0.1627, allocations: 0.846 MB / 323.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1628, allocations: 11.97 kB / 323.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/0.1635, allocations: 163.8 kB / 323.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.164, allocations: 295.8 kB / 323.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.164, allocations: 29.38 kB / 323.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.146e-05/0.1641, allocations: 47.19 kB / 323.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.1651, allocations: 0.6978 MB / 324.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.1651, allocations: 12.08 kB / 324.6 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.1651, allocations: 16.38 kB / 324.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.1652, allocations: 15.94 kB / 324.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.1657, allocations: 295.7 kB / 324.9 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.1801, allocations: 5.294 MB / 330.2 MB, free: 8.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/0.1807, allocations: 259.1 kB / 330.4 MB, free: 8.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.1809, allocations: 135.6 kB / 330.6 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/0.1923, allocations: 2.701 MB / 333.3 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.1924, allocations: 37.39 kB / 333.3 MB, free: 5.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.794e-06/0.1924, allocations: 0 / 333.3 MB, free: 5.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.01187/0.2042, allocations: 2.258 MB / 335.6 MB, free: 2.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.2043, allocations: 55.41 kB / 335.6 MB, free: 2.867 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004407/0.2047, allocations: 364.2 kB / 336 MB, free: 2.492 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.2048, allocations: 33.7 kB / 336 MB, free: 2.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.205, allocations: 291.1 kB / 336.3 MB, free: 2.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.2052, allocations: 178.5 kB / 336.5 MB, free: 1.984 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.2054, allocations: 124 kB / 336.6 MB, free: 1.855 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003231/0.2057, allocations: 0.543 MB / 337.1 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.206, allocations: 152.6 kB / 337.3 MB, free: 1.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.2065, allocations: 333.9 kB / 337.6 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.2073, allocations: 0.5259 MB / 338.1 MB, free: 172 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2073, allocations: 0 / 338.1 MB, free: 172 kB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001273/0.2085, allocations: 0.6172 MB / 338.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2086, allocations: 11.94 kB / 338.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.2086, allocations: 4 kB / 338.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008946/0.2175, allocations: 1.867 MB / 340.6 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.218, allocations: 111.8 kB / 340.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.2211, allocations: 3.509 MB / 344.3 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.2214, allocations: 15.94 kB / 344.3 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.2215, allocations: 24 kB / 344.3 MB, free: 9.812 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002698/0.2217, allocations: 212.5 kB / 344.5 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2219, allocations: 59.75 kB / 344.6 MB, free: 9.535 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.2231, allocations: 0.6781 MB / 345.2 MB, free: 8.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/0.2231, allocations: 11.92 kB / 345.3 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.2231, allocations: 32 / 345.3 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/0.2243, allocations: 0.8047 MB / 346.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002352/0.2266, allocations: 1.245 MB / 347.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.2266, allocations: 4 kB / 347.3 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.2269, allocations: 75.89 kB / 347.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00361/0.2306, allocations: 0.5806 MB / 348 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.803e-05/0.2306, allocations: 12 kB / 348 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.232, allocations: 1.705 MB / 349.7 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.232, allocations: 4 kB / 349.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.2336, allocations: 0.9865 MB / 350.7 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.722e-05/0.2337, allocations: 43.64 kB / 350.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/0.2337, allocations: 12 kB / 350.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.234, allocations: 12 kB / 350.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.234, allocations: 27.94 kB / 350.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.2341, allocations: 15.98 kB / 350.8 MB, free: 3.059 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002653/0.2343, allocations: 233.1 kB / 351 MB, free: 2.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2343, allocations: 3.938 kB / 351 MB, free: 2.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007925/0.2351, allocations: 231.7 kB / 351.2 MB, free: 2.598 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006737/0.2358, allocations: 299.3 kB / 351.5 MB, free: 2.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00138/0.2372, allocations: 0.692 MB / 352.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2372, allocations: 0 / 352.2 MB, free: 1.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009328/0.2381, allocations: 341.4 kB / 352.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.2394, allocations: 216.4 kB / 352.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.2415, allocations: 1.066 MB / 353.8 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.2418, allocations: 233.3 kB / 354.1 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002789/0.2421, allocations: 63.36 kB / 354.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-05/0.2422, allocations: 40.44 kB / 354.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of SimCode: time 1.243e-06/0.2422, allocations: 4 kB / 354.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of Templates: time 0.02567/0.2679, allocations: 12 MB / 366.2 MB, free: 3.762 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 6.099292833008803]