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.001445/0.001445, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001518/0.001518, allocations: 166 kB / 25.02 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.365/1.365, allocations: 158.6 MB / 186.8 MB, free: 2.863 MB / 170.7 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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 250.4 MB, free: 3.984 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.007e-05, allocations: 2.312 kB / 250.4 MB, free: 3.98 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3/0.3, allocations: 124 MB / 374.5 MB, free: 9.449 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.3032, allocations: 1.617 MB / 376.1 MB, free: 7.824 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.3035, allocations: 7.938 kB / 376.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007671/0.3043, allocations: 170.8 kB / 376.2 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009096/0.3052, allocations: 349.8 kB / 376.6 MB, free: 7.305 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.3065, allocations: 426.8 kB / 377 MB, free: 6.887 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.3078, allocations: 0.8442 MB / 377.8 MB, free: 6.039 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.308, allocations: 76.81 kB / 377.9 MB, free: 5.965 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.3092, allocations: 0.5025 MB / 378.4 MB, free: 5.461 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.3098, allocations: 303.2 kB / 378.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.46e-05/0.3099, allocations: 35.94 kB / 378.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.3103, allocations: 119.7 kB / 378.9 MB, free: 5.012 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.3104, allocations: 107.6 kB / 379 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.3106, allocations: 139.7 kB / 379.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007675/0.3114, allocations: 0.5102 MB / 379.6 MB, free: 4.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3114, allocations: 0 / 379.6 MB, free: 4.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3114, allocations: 0 / 379.6 MB, free: 4.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.3114, allocations: 0 / 379.6 MB, free: 4.258 MB / 314.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.001009/0.3124, allocations: 0.5285 MB / 380.2 MB, free: 3.699 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3125, allocations: 11.98 kB / 380.2 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004135/0.3129, allocations: 80.48 kB / 380.2 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/0.3134, allocations: 241.3 kB / 380.5 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.3135, allocations: 16.88 kB / 380.5 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.3135, allocations: 28.38 kB / 380.5 MB, free: 3.305 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007975/0.3143, allocations: 0.5198 MB / 381 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3143, allocations: 192 / 381 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.3144, allocations: 12.38 kB / 381.1 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.3144, allocations: 11.94 kB / 381.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.3148, allocations: 201.8 kB / 381.3 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.3166, allocations: 0.906 MB / 382.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.317, allocations: 182.6 kB / 382.3 MB, free: 1.355 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.3172, allocations: 76.84 kB / 382.4 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.112e-05/0.3173, allocations: 20.36 kB / 382.4 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3173, allocations: 42.5 kB / 382.5 MB, free: 1.207 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.3173, allocations: 0 / 382.5 MB, free: 1.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.002702/0.32, allocations: 0.8151 MB / 383.3 MB, free: 356 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.3201, allocations: 63.34 kB / 383.4 MB, free: 280 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.3204, allocations: 236 kB / 383.6 MB, free: 36 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.3204, allocations: 33.75 kB / 383.6 MB, free: 15.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.3206, allocations: 188.3 kB / 383.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.345e-05/0.3207, allocations: 91.19 kB / 383.9 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.3208, allocations: 69.64 kB / 384 MB, free: 15.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000297/0.3211, allocations: 334.8 kB / 384.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.3213, allocations: 75.97 kB / 384.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.3215, allocations: 183.8 kB / 384.5 MB, free: 15.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.322, allocations: 291.8 kB / 384.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.322, allocations: 0 / 384.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007283/0.3227, allocations: 374.9 kB / 385.2 MB, free: 14.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.3228, allocations: 11.94 kB / 385.2 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3228, allocations: 7.938 kB / 385.2 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/0.323, allocations: 42.11 kB / 385.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.3234, allocations: 83.89 kB / 385.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.3259, allocations: 2.508 MB / 387.8 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.3261, allocations: 16.3 kB / 387.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.3261, allocations: 16 kB / 387.9 MB, free: 11.41 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.0002074/0.3264, allocations: 145.8 kB / 388 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.3265, allocations: 43.75 kB / 388.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.327, allocations: 278.4 kB / 388.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3271, allocations: 4 kB / 388.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.3271, allocations: 0 / 388.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006567/0.3277, allocations: 0.5396 MB / 388.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.3288, allocations: 0.5824 MB / 389.5 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3288, allocations: 0 / 389.5 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.3291, allocations: 63.89 kB / 389.5 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.125e-05/0.3292, allocations: 16.84 kB / 389.5 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.3292, allocations: 12.03 kB / 389.6 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.3304, allocations: 1.26 MB / 390.8 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3304, allocations: 4.031 kB / 390.8 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008126/0.3313, allocations: 438.1 kB / 391.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.354e-05/0.3313, allocations: 27.88 kB / 391.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.3314, allocations: 12.22 kB / 391.3 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3316, allocations: 4 kB / 391.3 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.3316, allocations: 15.97 kB / 391.3 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.3317, allocations: 15.98 kB / 391.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001931/0.3319, allocations: 165.8 kB / 391.5 MB, free: 7.531 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3319, allocations: 0 / 391.5 MB, free: 7.531 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005173/0.3324, allocations: 95.94 kB / 391.6 MB, free: 7.438 MB / 330.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.0003217/0.3327, allocations: 151 kB / 391.7 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007836/0.3335, allocations: 448.3 kB / 392.2 MB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3335, allocations: 0 / 392.2 MB, free: 6.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.3338, allocations: 207.3 kB / 392.4 MB, free: 6.605 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.3347, allocations: 145.5 kB / 392.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.3359, allocations: 0.5994 MB / 393.1 MB, free: 5.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.3361, allocations: 155.2 kB / 393.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002539/0.3363, allocations: 53.2 kB / 393.3 MB, free: 5.621 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.765e-05/0.3364, allocations: 32.48 kB / 393.3 MB, free: 5.59 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3364, allocations: 0 / 393.3 MB, free: 5.59 MB / 330.7 MB Notification: Performance of Templates: time 0.01261/0.349, allocations: 5.654 MB / 399 MB, free: 15.97 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=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: 4.704098045011051]