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.002067/0.002067, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 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.002443/0.002443, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.595/1.595, allocations: 207.6 MB / 236 MB, free: 9.988 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.001919/0.001919, allocations: 55.91 kB / 348.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2802, allocations: 49.15 MB / 397.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1977/0.4779, allocations: 144.6 MB / 0.5295 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.4812, allocations: 1.74 MB / 0.5312 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004531/0.4817, allocations: 7.938 kB / 0.5313 GB, free: 500 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009062/0.4826, allocations: 182.9 kB / 0.5314 GB, free: 316 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.4836, allocations: 326.4 kB / 0.5317 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.4849, allocations: 422.9 kB / 0.5321 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.4862, allocations: 0.8602 MB / 0.533 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002499/0.4865, allocations: 80.88 kB / 0.5331 GB, free: 14.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.4875, allocations: 398.7 kB / 0.5334 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007326/0.4882, allocations: 346.8 kB / 0.5338 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.888e-05/0.4883, allocations: 32 kB / 0.5338 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004159/0.4887, allocations: 155.6 kB / 0.5339 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.4889, allocations: 91.72 kB / 0.534 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.4891, allocations: 187.2 kB / 0.5342 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006847/0.4898, allocations: 499.6 kB / 0.5347 GB, free: 12.96 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4898, allocations: 0 / 0.5347 GB, free: 12.96 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4898, allocations: 0 / 0.5347 GB, free: 12.96 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.4898, allocations: 0 / 0.5347 GB, free: 12.96 MB / 462.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.0009401/0.4907, allocations: 0.5286 MB / 0.5352 GB, free: 12.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4908, allocations: 11.98 kB / 0.5352 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002952/0.4911, allocations: 44.73 kB / 0.5353 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.4916, allocations: 234 kB / 0.5355 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.4916, allocations: 20.88 kB / 0.5355 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.4917, allocations: 24.38 kB / 0.5355 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005201/0.4922, allocations: 296.6 kB / 0.5358 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4922, allocations: 3.938 kB / 0.5358 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.4922, allocations: 12 kB / 0.5358 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-06/0.4922, allocations: 4 kB / 0.5358 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.4926, allocations: 205.8 kB / 0.536 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.4945, allocations: 1.194 MB / 0.5372 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.4949, allocations: 171.9 kB / 0.5374 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.4951, allocations: 88.83 kB / 0.5374 GB, free: 9.961 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.861e-05/0.4952, allocations: 19.92 kB / 0.5375 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.4952, allocations: 42.56 kB / 0.5375 GB, free: 9.891 MB / 462.1 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.4952, allocations: 0 / 0.5375 GB, free: 9.891 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.002517/0.4977, allocations: 0.8049 MB / 0.5383 GB, free: 9.043 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.4978, allocations: 59.41 kB / 0.5383 GB, free: 8.973 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.4981, allocations: 257.9 kB / 0.5386 GB, free: 8.711 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.4981, allocations: 29.7 kB / 0.5386 GB, free: 8.676 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.4983, allocations: 184.5 kB / 0.5388 GB, free: 8.492 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.4984, allocations: 91.16 kB / 0.5389 GB, free: 8.402 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.4985, allocations: 73.64 kB / 0.5389 GB, free: 8.324 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.4987, allocations: 334.8 kB / 0.5393 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.4989, allocations: 79.97 kB / 0.5393 GB, free: 7.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.4991, allocations: 175.8 kB / 0.5395 GB, free: 7.695 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.4996, allocations: 295.8 kB / 0.5398 GB, free: 7.363 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4996, allocations: 0 / 0.5398 GB, free: 7.363 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006511/0.5002, allocations: 367 kB / 0.5401 GB, free: 6.992 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.5003, allocations: 8 kB / 0.5402 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5003, allocations: 4 kB / 0.5402 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001735/0.5004, allocations: 45.62 kB / 0.5402 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.5008, allocations: 80.06 kB / 0.5403 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.5031, allocations: 2.566 MB / 0.5428 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.5033, allocations: 12 kB / 0.5428 GB, free: 4.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.5033, allocations: 12 kB / 0.5428 GB, free: 4.031 MB / 462.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.0002066/0.5035, allocations: 161.6 kB / 0.543 GB, free: 3.863 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.5036, allocations: 31.81 kB / 0.543 GB, free: 3.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.5041, allocations: 281.9 kB / 0.5433 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5041, allocations: 4 kB / 0.5433 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.5041, allocations: 0 / 0.5433 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005922/0.5047, allocations: 0.5395 MB / 0.5438 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.5058, allocations: 0.6594 MB / 0.5444 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5059, allocations: 0 / 0.5444 GB, free: 2.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.5061, allocations: 55.91 kB / 0.5445 GB, free: 2.141 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.281e-05/0.5062, allocations: 20.84 kB / 0.5445 GB, free: 2.117 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.5063, allocations: 12 kB / 0.5445 GB, free: 2.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.5073, allocations: 1.275 MB / 0.5458 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5073, allocations: 0 / 0.5458 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.508, allocations: 442.9 kB / 0.5462 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.508, allocations: 27.78 kB / 0.5462 GB, free: 240 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.5081, allocations: 8 kB / 0.5462 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.5083, allocations: 15.97 kB / 0.5462 GB, free: 216 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.5084, allocations: 23.84 kB / 0.5463 GB, free: 192 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.5084, allocations: 11.98 kB / 0.5463 GB, free: 180 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002283/0.5086, allocations: 197.3 kB / 0.5465 GB, free: 15.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5086, allocations: 0 / 0.5465 GB, free: 15.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004757/0.5091, allocations: 99.94 kB / 0.5466 GB, free: 15.88 MB / 478.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.0002868/0.5094, allocations: 135 kB / 0.5467 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.5101, allocations: 441.1 kB / 0.5471 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5101, allocations: 4 kB / 0.5471 GB, free: 15.29 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.5104, allocations: 206.5 kB / 0.5473 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008812/0.5113, allocations: 165 kB / 0.5475 GB, free: 14.91 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.5125, allocations: 0.7051 MB / 0.5481 GB, free: 14.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.5129, allocations: 0.7645 MB / 0.5489 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.513, allocations: 31.42 kB / 0.5489 GB, free: 13.35 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.513, allocations: 0 / 0.5489 GB, free: 13.35 MB / 478.1 MB Notification: Performance of Templates: time 0.01016/0.5232, allocations: 6.471 MB / 0.5552 GB, free: 6.867 MB / 478.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.786828947020695]