Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 119.4 kB / 18.41 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 192.3 kB / 21.35 MB, free: 1.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 247 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 51.92 kB / 358.7 MB, free: 8.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1213, allocations: 49.43 MB / 408.1 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2532/0.3745, allocations: 27.01 MB / 435.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004244/0.3788, allocations: 4.17 MB / 439.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.3791, allocations: 8.406 kB / 439.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.3798, allocations: 207.2 kB / 439.5 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006543/0.3805, allocations: 342.5 kB / 439.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.3849, allocations: 1.467 MB / 441.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.3862, allocations: 0.8878 MB / 442.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.3865, allocations: 106 kB / 442.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00652/0.393, allocations: 4.049 MB / 446.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.3934, allocations: 273.1 kB / 446.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.3935, allocations: 30.69 kB / 446.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.3951, allocations: 0.7336 MB / 447.4 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.3953, allocations: 90.77 kB / 447.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.3955, allocations: 200.8 kB / 447.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.3969, allocations: 0.8503 MB / 448.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3969, allocations: 0.6875 kB / 448.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3969, allocations: 0 / 448.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.3969, allocations: 0.6562 kB / 448.5 MB, free: 3.258 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009629/0.3979, allocations: 0.6638 MB / 449.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3979, allocations: 8.719 kB / 449.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004605/0.3984, allocations: 63.73 kB / 449.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.3988, allocations: 294.2 kB / 449.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3989, allocations: 20.94 kB / 449.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.3989, allocations: 25.94 kB / 449.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.3994, allocations: 340.2 kB / 449.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.3995, allocations: 1.062 kB / 449.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.3995, allocations: 14.58 kB / 449.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3995, allocations: 7.75 kB / 449.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.3999, allocations: 210.5 kB / 450.1 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.4121, allocations: 5.912 MB / 456.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003413/0.4125, allocations: 175.4 kB / 456.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.4127, allocations: 92.86 kB / 456.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.4234, allocations: 3.883 MB / 460.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/0.4235, allocations: 40.48 kB / 460.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.565e-06/0.4235, allocations: 0 / 460.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.00639/0.4299, allocations: 1.42 MB / 461.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.43, allocations: 58.3 kB / 461.7 MB, free: 12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.4303, allocations: 263 kB / 462 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.419e-05/0.4303, allocations: 29.45 kB / 462 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.4305, allocations: 189.9 kB / 462.2 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.865e-05/0.4306, allocations: 102 kB / 462.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.703e-05/0.4307, allocations: 69.88 kB / 462.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4308, allocations: 334.6 kB / 462.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.431, allocations: 97.61 kB / 462.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.4312, allocations: 182.7 kB / 463 MB, free: 11.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/0.4316, allocations: 304.4 kB / 463.3 MB, free: 11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4316, allocations: 9.281 kB / 463.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006572/0.4323, allocations: 391.3 kB / 463.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.4323, allocations: 5.406 kB / 463.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4323, allocations: 7.344 kB / 463.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/0.4363, allocations: 0.9438 MB / 464.6 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.4366, allocations: 68.5 kB / 464.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.4385, allocations: 1.977 MB / 466.6 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.4388, allocations: 10.94 kB / 466.7 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.4388, allocations: 16.19 kB / 466.7 MB, free: 8.555 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002555/0.4391, allocations: 155.8 kB / 466.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.4391, allocations: 34.88 kB / 466.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007485/0.4399, allocations: 494.5 kB / 467.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.4399, allocations: 4.125 kB / 467.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.4399, allocations: 0 / 467.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007671/0.4407, allocations: 0.7213 MB / 468.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.4421, allocations: 0.9512 MB / 469 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.4421, allocations: 3.938 kB / 469 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.4423, allocations: 44.03 kB / 469.1 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/0.444, allocations: 313.9 kB / 469.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.444, allocations: 5.875 kB / 469.4 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005506/0.4445, allocations: 0.6513 MB / 470 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4446, allocations: 0 / 470 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008823/0.4454, allocations: 0.7279 MB / 470.8 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.4456, allocations: 110.3 kB / 470.9 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.4456, allocations: 6.688 kB / 470.9 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.4458, allocations: 7.672 kB / 470.9 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.4459, allocations: 15.89 kB / 470.9 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.4459, allocations: 11.52 kB / 470.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002007/0.4461, allocations: 184.5 kB / 471.1 MB, free: 6.195 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4461, allocations: 0 / 471.1 MB, free: 6.195 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009272/0.447, allocations: 190.2 kB / 471.3 MB, free: 6.172 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006464/0.4477, allocations: 268.6 kB / 471.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008135/0.4485, allocations: 456.8 kB / 472 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4485, allocations: 4 kB / 472 MB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.449, allocations: 241.7 kB / 472.2 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009435/0.45, allocations: 171.8 kB / 472.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.4513, allocations: 0.8348 MB / 473.2 MB, free: 5.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.4518, allocations: 0.7756 MB / 474 MB, free: 4.531 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.4519, allocations: 32.06 kB / 474 MB, free: 4.527 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4519, allocations: 0 / 474 MB, free: 4.527 MB / 366.1 MB Notification: Performance of Templates: time 0.01372/0.4656, allocations: 8.43 MB / 482.5 MB, free: 12.29 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 9.041380551061593]