Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.001809/0.001809, allocations: 108.4 kB / 21.93 MB, free: 5.223 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.002318/0.002318, allocations: 214 kB / 25.23 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 207.7 MB / 236.1 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.92 kB / 348.5 MB, free: 9.348 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.3, allocations: 49.15 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1759/0.4759, allocations: 124.1 MB / 0.5095 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.4787, allocations: 1.631 MB / 0.5111 GB, free: 5.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.4789, allocations: 7.938 kB / 0.5111 GB, free: 5.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.4796, allocations: 170.9 kB / 0.5113 GB, free: 4.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000679/0.4803, allocations: 326.2 kB / 0.5116 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.4814, allocations: 423 kB / 0.512 GB, free: 4.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.4824, allocations: 0.8524 MB / 0.5128 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.4826, allocations: 68.89 kB / 0.5129 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007735/0.4834, allocations: 422.6 kB / 0.5133 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005339/0.484, allocations: 326.8 kB / 0.5136 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.484, allocations: 32 kB / 0.5136 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003364/0.4843, allocations: 115.7 kB / 0.5137 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.4845, allocations: 107.7 kB / 0.5138 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.4847, allocations: 163.4 kB / 0.514 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006417/0.4853, allocations: 0.4888 MB / 0.5145 GB, free: 1.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4853, allocations: 0 / 0.5145 GB, free: 1.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.4854, allocations: 4 kB / 0.5145 GB, free: 1.566 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.4854, allocations: 0 / 0.5145 GB, free: 1.566 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009166/0.4863, allocations: 0.5169 MB / 0.515 GB, free: 1.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.4863, allocations: 11.98 kB / 0.515 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002935/0.4866, allocations: 44.73 kB / 0.515 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.4871, allocations: 234 kB / 0.5152 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.4871, allocations: 16.88 kB / 0.5153 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.4872, allocations: 24.38 kB / 0.5153 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006732/0.4879, allocations: 0.5311 MB / 0.5158 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.4879, allocations: 4 kB / 0.5158 GB, free: 64 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.4879, allocations: 8 kB / 0.5158 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.4879, allocations: 8 kB / 0.5158 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.4883, allocations: 205.8 kB / 0.516 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.49, allocations: 0.9021 MB / 0.5169 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.4905, allocations: 184.4 kB / 0.5171 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.4906, allocations: 92.77 kB / 0.5172 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.779e-05/0.4907, allocations: 16 kB / 0.5172 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.4907, allocations: 38.55 kB / 0.5172 GB, free: 14.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 2.355e-06/0.4908, allocations: 0 / 0.5172 GB, free: 14.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.002538/0.4933, allocations: 0.8045 MB / 0.518 GB, free: 13.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.4933, allocations: 55.41 kB / 0.5181 GB, free: 13.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.4936, allocations: 236 kB / 0.5183 GB, free: 13.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.4937, allocations: 33.7 kB / 0.5183 GB, free: 13.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.4938, allocations: 188.4 kB / 0.5185 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/0.4939, allocations: 91.17 kB / 0.5186 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.494, allocations: 73.64 kB / 0.5187 GB, free: 13.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4942, allocations: 330.8 kB / 0.519 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.4943, allocations: 79.97 kB / 0.519 GB, free: 12.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.4946, allocations: 183.7 kB / 0.5192 GB, free: 12.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004401/0.495, allocations: 283.8 kB / 0.5195 GB, free: 12.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.495, allocations: 0 / 0.5195 GB, free: 12.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006805/0.4957, allocations: 370.8 kB / 0.5198 GB, free: 11.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.4957, allocations: 8 kB / 0.5198 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4957, allocations: 4 kB / 0.5199 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.4959, allocations: 42.11 kB / 0.5199 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.4963, allocations: 75.89 kB / 0.52 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.4986, allocations: 2.505 MB / 0.5224 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.4988, allocations: 12.31 kB / 0.5224 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.4989, allocations: 20 kB / 0.5224 GB, free: 8.809 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.4991, allocations: 157.7 kB / 0.5226 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.4991, allocations: 31.75 kB / 0.5226 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.4998, allocations: 281.5 kB / 0.5229 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4998, allocations: 4 kB / 0.5229 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.4998, allocations: 0 / 0.5229 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006188/0.5004, allocations: 0.5435 MB / 0.5234 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.5014, allocations: 0.5819 MB / 0.524 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.5014, allocations: 0 / 0.524 GB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.5017, allocations: 55.89 kB / 0.524 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.39e-05/0.5018, allocations: 20.84 kB / 0.5241 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.5018, allocations: 11.94 kB / 0.5241 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.5029, allocations: 1.244 MB / 0.5253 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5029, allocations: 4 kB / 0.5253 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006964/0.5036, allocations: 455.5 kB / 0.5257 GB, free: 5.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.5036, allocations: 23.83 kB / 0.5258 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.5037, allocations: 4 kB / 0.5258 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.5039, allocations: 20.19 kB / 0.5258 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.504, allocations: 19.91 kB / 0.5258 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.504, allocations: 19.92 kB / 0.5258 GB, free: 5.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.5042, allocations: 161.8 kB / 0.526 GB, free: 4.918 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5042, allocations: 0 / 0.526 GB, free: 4.918 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007243/0.505, allocations: 99.94 kB / 0.5261 GB, free: 4.82 MB / 446.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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003754/0.5053, allocations: 135.1 kB / 0.5262 GB, free: 4.676 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007873/0.5061, allocations: 437.1 kB / 0.5266 GB, free: 4.223 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.5061, allocations: 4 kB / 0.5266 GB, free: 4.219 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.5064, allocations: 207.5 kB / 0.5268 GB, free: 4.004 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008062/0.5072, allocations: 132.4 kB / 0.5269 GB, free: 3.875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.5085, allocations: 0.7157 MB / 0.5276 GB, free: 3.125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.5087, allocations: 155.2 kB / 0.5278 GB, free: 2.953 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.538e-05/0.5088, allocations: 27.44 kB / 0.5278 GB, free: 2.926 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5088, allocations: 0 / 0.5278 GB, free: 2.926 MB / 446.1 MB Notification: Performance of Templates: time 0.01001/0.5188, allocations: 6.238 MB / 0.5339 GB, free: 12.68 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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: 8.422139121219516]