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.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.001555/0.001555, allocations: 106 kB / 21.18 MB, free: 0.707 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.001591/0.001591, allocations: 185.2 kB / 24.47 MB, free: 4.074 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.482/1.482, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 59.91 kB / 347.7 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.32, allocations: 49.17 MB / 396.9 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.1955/0.5155, allocations: 144.6 MB / 0.5288 GB, free: 2.305 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.5183, allocations: 1.752 MB / 0.5305 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.5184, allocations: 7.938 kB / 0.5305 GB, free: 0.543 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006863/0.5191, allocations: 182.9 kB / 0.5307 GB, free: 372 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006614/0.5198, allocations: 326.3 kB / 0.531 GB, free: 44 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.521, allocations: 423 kB / 0.5314 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.5221, allocations: 0.8602 MB / 0.5322 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.5223, allocations: 72.89 kB / 0.5323 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000705/0.523, allocations: 406.7 kB / 0.5327 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005289/0.5235, allocations: 350.8 kB / 0.533 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.5236, allocations: 36 kB / 0.533 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.524, allocations: 139.7 kB / 0.5332 GB, free: 13.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.5241, allocations: 95.72 kB / 0.5333 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.5243, allocations: 195.2 kB / 0.5334 GB, free: 13.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000614/0.5249, allocations: 492 kB / 0.5339 GB, free: 13.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5249, allocations: 0 / 0.5339 GB, free: 13.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5249, allocations: 4 kB / 0.5339 GB, free: 13.01 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.5249, allocations: 0 / 0.5339 GB, free: 13.01 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.0009851/0.5259, allocations: 0.5208 MB / 0.5344 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.526, allocations: 11.98 kB / 0.5344 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.5263, allocations: 48.73 kB / 0.5345 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.5268, allocations: 230 kB / 0.5347 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.5268, allocations: 16.88 kB / 0.5347 GB, free: 12.14 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.5269, allocations: 24.38 kB / 0.5347 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.5274, allocations: 304.6 kB / 0.535 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5275, allocations: 3.938 kB / 0.535 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.5275, allocations: 12 kB / 0.535 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.5275, allocations: 8 kB / 0.5351 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.5279, allocations: 205.9 kB / 0.5353 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.5298, allocations: 1.182 MB / 0.5364 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.5302, allocations: 178.7 kB / 0.5366 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.5304, allocations: 88.83 kB / 0.5367 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.655e-05/0.5305, allocations: 15.97 kB / 0.5367 GB, free: 10 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.5305, allocations: 42.5 kB / 0.5367 GB, free: 9.953 MB / 462.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.5305, allocations: 0 / 0.5367 GB, free: 9.953 MB / 462.1 MB Notification: Performance of matching and sorting (n=26): time 0.002712/0.5332, allocations: 0.805 MB / 0.5375 GB, free: 9.105 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.5333, allocations: 59.34 kB / 0.5376 GB, free: 9.035 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.5336, allocations: 265.8 kB / 0.5378 GB, free: 8.766 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.5337, allocations: 37.64 kB / 0.5378 GB, free: 8.723 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.5338, allocations: 180.5 kB / 0.538 GB, free: 8.543 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.909e-05/0.5339, allocations: 95.2 kB / 0.5381 GB, free: 8.449 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.5341, allocations: 69.64 kB / 0.5382 GB, free: 8.375 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5342, allocations: 334.8 kB / 0.5385 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.5344, allocations: 79.97 kB / 0.5386 GB, free: 7.961 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.5347, allocations: 183.8 kB / 0.5387 GB, free: 7.738 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.5351, allocations: 283.8 kB / 0.539 GB, free: 7.418 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5351, allocations: 0 / 0.539 GB, free: 7.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007143/0.5358, allocations: 371 kB / 0.5394 GB, free: 7.043 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.5358, allocations: 8 kB / 0.5394 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.5359, allocations: 7.984 kB / 0.5394 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002181/0.5361, allocations: 45.64 kB / 0.5394 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.5364, allocations: 71.91 kB / 0.5395 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.5388, allocations: 2.554 MB / 0.542 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.539, allocations: 8 kB / 0.542 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.681e-05/0.5391, allocations: 16.16 kB / 0.542 GB, free: 4.098 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.0002111/0.5393, allocations: 165.6 kB / 0.5422 GB, free: 3.926 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.5394, allocations: 31.81 kB / 0.5422 GB, free: 3.895 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005798/0.5399, allocations: 277.9 kB / 0.5425 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.5399, allocations: 4 kB / 0.5425 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.5399, allocations: 4 kB / 0.5425 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005818/0.5405, allocations: 0.5395 MB / 0.543 GB, free: 2.973 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.5416, allocations: 0.6633 MB / 0.5437 GB, free: 2.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5416, allocations: 3.984 kB / 0.5437 GB, free: 2.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.5419, allocations: 59.94 kB / 0.5437 GB, free: 2.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.285e-05/0.542, allocations: 20.84 kB / 0.5437 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.542, allocations: 4 kB / 0.5437 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.5431, allocations: 1.275 MB / 0.545 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5431, allocations: 0 / 0.545 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.5437, allocations: 447.8 kB / 0.5454 GB, free: 324 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.5438, allocations: 31.75 kB / 0.5454 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.5438, allocations: 3.984 kB / 0.5454 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.5441, allocations: 8 kB / 0.5455 GB, free: 280 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.5441, allocations: 31.78 kB / 0.5455 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.5442, allocations: 15.98 kB / 0.5455 GB, free: 232 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.5444, allocations: 181.2 kB / 0.5457 GB, free: 52 kB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5444, allocations: 0 / 0.5457 GB, free: 52 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004923/0.5449, allocations: 108.1 kB / 0.5458 GB, free: 15.94 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.0002733/0.5451, allocations: 135.1 kB / 0.5459 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007188/0.5459, allocations: 437.5 kB / 0.5463 GB, free: 15.35 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5459, allocations: 3.938 kB / 0.5463 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.5461, allocations: 210.5 kB / 0.5465 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/0.547, allocations: 160.6 kB / 0.5467 GB, free: 14.97 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.5483, allocations: 0.6712 MB / 0.5473 GB, free: 14.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.5488, allocations: 0.7645 MB / 0.5481 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002688/0.5491, allocations: 66.86 kB / 0.5481 GB, free: 13.42 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.462e-05/0.5492, allocations: 27.44 kB / 0.5482 GB, free: 13.39 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5492, allocations: 0 / 0.5482 GB, free: 13.39 MB / 478.1 MB Notification: Performance of Templates: time 0.01325/0.5624, allocations: 6.473 MB / 0.5545 GB, free: 6.906 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/jenkins/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/jenkins/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: 5.418472367338836]