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.001941/0.001941, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002027/0.002027, allocations: 162.4 kB / 25.03 MB, free: 8.422 MB / 18.57 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.315/1.315, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 250.4 MB, free: 7.781 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.066e-05, allocations: 2.312 kB / 250.4 MB, free: 7.777 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3634/0.3635, allocations: 136.9 MB / 387.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004348/0.3678, allocations: 1.75 MB / 389.1 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004245/0.3682, allocations: 7.062 kB / 389.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.3693, allocations: 175.1 kB / 389.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.3706, allocations: 346 kB / 389.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.3723, allocations: 424.1 kB / 390 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.374, allocations: 0.8492 MB / 390.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.3743, allocations: 72.19 kB / 390.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.3759, allocations: 0.5121 MB / 391.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009253/0.3768, allocations: 305.2 kB / 391.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.377, allocations: 31.31 kB / 391.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.3775, allocations: 124 kB / 391.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.3778, allocations: 105 kB / 392 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004053/0.3782, allocations: 144.5 kB / 392.1 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009435/0.3791, allocations: 0.5074 MB / 392.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3791, allocations: 0 / 392.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3791, allocations: 2.531 kB / 392.6 MB, free: 10.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.3791, allocations: 3.938 kB / 392.7 MB, free: 10.3 MB / 330.7 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.001317/0.3804, allocations: 0.6359 MB / 393.3 MB, free: 9.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.3805, allocations: 12.83 kB / 393.3 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000583/0.3811, allocations: 86.28 kB / 393.4 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.3817, allocations: 239.9 kB / 393.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.3817, allocations: 19.69 kB / 393.6 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.044e-05/0.3818, allocations: 26.62 kB / 393.7 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000849/0.3827, allocations: 0.5235 MB / 394.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.3827, allocations: 4.125 kB / 394.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.217e-05/0.3827, allocations: 15.94 kB / 394.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3828, allocations: 16.2 kB / 394.2 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005363/0.3833, allocations: 180.2 kB / 394.4 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.386, allocations: 1.148 MB / 395.5 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.3866, allocations: 192 kB / 395.7 MB, free: 8.496 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.3868, allocations: 92.22 kB / 395.8 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.3869, allocations: 11.97 kB / 395.8 MB, free: 8.473 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.387, allocations: 43.23 kB / 395.9 MB, free: 8.426 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.805e-06/0.387, allocations: 3.094 kB / 395.9 MB, free: 8.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.003916/0.3909, allocations: 0.8202 MB / 396.7 MB, free: 8.078 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.3909, allocations: 58.25 kB / 396.8 MB, free: 8.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.3913, allocations: 324.5 kB / 397.1 MB, free: 7.805 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.3914, allocations: 31.7 kB / 397.1 MB, free: 7.773 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.3915, allocations: 241.5 kB / 397.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.3916, allocations: 107.8 kB / 397.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.3917, allocations: 82.55 kB / 397.5 MB, free: 7.473 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3919, allocations: 0.5261 MB / 398.1 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.3921, allocations: 74.44 kB / 398.1 MB, free: 6.961 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.3924, allocations: 233.9 kB / 398.4 MB, free: 6.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.3929, allocations: 330.7 kB / 398.7 MB, free: 6.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3929, allocations: 0 / 398.7 MB, free: 6.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009203/0.3938, allocations: 377.5 kB / 399 MB, free: 6.461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.3939, allocations: 12.03 kB / 399.1 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.3939, allocations: 7.344 kB / 399.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/0.3941, allocations: 46.2 kB / 399.1 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.3946, allocations: 87.17 kB / 399.2 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.3967, allocations: 3.563 MB / 402.8 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003171/0.397, allocations: 17.86 kB / 402.8 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/0.397, allocations: 14.38 kB / 402.8 MB, free: 2.883 MB / 330.7 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.0002138/0.3972, allocations: 191.3 kB / 403 MB, free: 2.719 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.3974, allocations: 35.55 kB / 403 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007774/0.3982, allocations: 281 kB / 403.3 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3982, allocations: 3.156 kB / 403.3 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3982, allocations: 2.688 kB / 403.3 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006616/0.3988, allocations: 0.5416 MB / 403.8 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.4003, allocations: 0.688 MB / 404.5 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4003, allocations: 3 kB / 404.5 MB, free: 1.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.4007, allocations: 55.05 kB / 404.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.4008, allocations: 26.27 kB / 404.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.4009, allocations: 10.44 kB / 404.6 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.4019, allocations: 1.782 MB / 406.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.4019, allocations: 0 / 406.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.4029, allocations: 0.4953 MB / 406.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.125e-05/0.403, allocations: 21.44 kB / 406.9 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.535e-05/0.4031, allocations: 13.84 kB / 406.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.4035, allocations: 15.64 kB / 406.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.4035, allocations: 13.84 kB / 407 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.4036, allocations: 15.61 kB / 407 MB, free: 15.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002983/0.4039, allocations: 211.3 kB / 407.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4039, allocations: 0 / 407.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007868/0.4047, allocations: 106.2 kB / 407.3 MB, free: 15.5 MB / 346.7 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.0004185/0.4051, allocations: 136.4 kB / 407.4 MB, free: 15.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.4062, allocations: 0.5679 MB / 408 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4062, allocations: 0 / 408 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000415/0.4066, allocations: 288 kB / 408.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.4078, allocations: 138.8 kB / 408.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.4093, allocations: 0.6035 MB / 409 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.4095, allocations: 159.7 kB / 409.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003183/0.4098, allocations: 56.95 kB / 409.2 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.493e-05/0.4099, allocations: 28.31 kB / 409.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.462e-06/0.4099, allocations: 0 / 409.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of Templates: time 0.01301/0.4229, allocations: 5.673 MB / 414.9 MB, free: 11.29 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 240] 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: 4.973851028014906]