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.0009118/0.0009118, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.0009424/0.0009424, allocations: 168.1 kB / 25.33 MB, free: 9.449 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 0.8878/0.8878, allocations: 158.6 MB / 187.2 MB, free: 2.555 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.653e-06/1.653e-06, allocations: 3.938 kB / 251.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.678e-05, allocations: 2.312 kB / 251.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2494/0.2494, allocations: 129.9 MB / 381 MB, free: 5.684 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2504, allocations: 0.7489 MB / 381.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.2505, allocations: 7.938 kB / 381.7 MB, free: 4.934 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000445/0.251, allocations: 95.36 kB / 381.8 MB, free: 4.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.2514, allocations: 345.9 kB / 382.2 MB, free: 4.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005866/0.252, allocations: 391.2 kB / 382.6 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007988/0.2528, allocations: 0.8761 MB / 383.4 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.253, allocations: 68.89 kB / 383.5 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007394/0.2537, allocations: 478.9 kB / 384 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.2541, allocations: 307.2 kB / 384.3 MB, free: 2.402 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.576e-05/0.2541, allocations: 32 kB / 384.3 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2542, allocations: 67.84 kB / 384.4 MB, free: 2.305 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-05/0.2543, allocations: 103.6 kB / 384.5 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.2545, allocations: 147.7 kB / 384.6 MB, free: 2.059 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.2548, allocations: 311.1 kB / 384.9 MB, free: 1.754 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2548, allocations: 0 / 384.9 MB, free: 1.754 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2548, allocations: 0 / 384.9 MB, free: 1.754 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2548, allocations: 0 / 384.9 MB, free: 1.754 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.0006713/0.2555, allocations: 0.6136 MB / 385.5 MB, free: 1.105 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2555, allocations: 11.98 kB / 385.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.2558, allocations: 84.5 kB / 385.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.256, allocations: 228.6 kB / 385.8 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.2561, allocations: 23.94 kB / 385.9 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.2561, allocations: 28.38 kB / 385.9 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.2565, allocations: 479.6 kB / 386.4 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2565, allocations: 192 / 386.4 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.2565, allocations: 12.38 kB / 386.4 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.2565, allocations: 11.94 kB / 386.4 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.2567, allocations: 118.8 kB / 386.5 MB, free: 28 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.2578, allocations: 1.066 MB / 387.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.2581, allocations: 143.1 kB / 387.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.225e-05/0.2582, allocations: 63.66 kB / 387.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.116e-05/0.2582, allocations: 12.38 kB / 387.8 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.2582, allocations: 49.31 kB / 387.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.2583, allocations: 0 / 387.8 MB, free: 14.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001417/0.2597, allocations: 0.6961 MB / 388.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.2597, allocations: 59.34 kB / 388.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.2599, allocations: 274.6 kB / 388.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2599, allocations: 33.7 kB / 388.9 MB, free: 13.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.26, allocations: 231.1 kB / 389.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.26, allocations: 107.2 kB / 389.2 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.2601, allocations: 63.36 kB / 389.3 MB, free: 13.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2602, allocations: 0.5079 MB / 389.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.796e-05/0.2603, allocations: 43.97 kB / 389.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.2604, allocations: 187.3 kB / 390 MB, free: 12.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.2606, allocations: 255.4 kB / 390.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2606, allocations: 0 / 390.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000498/0.2611, allocations: 312.7 kB / 390.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2612, allocations: 8.625 kB / 390.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2612, allocations: 7.938 kB / 390.6 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.2613, allocations: 43.3 kB / 390.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.2615, allocations: 75.89 kB / 390.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.263, allocations: 3.474 MB / 394.2 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.681e-05/0.2631, allocations: 16.23 kB / 394.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.2631, allocations: 16 kB / 394.2 MB, free: 7.75 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.0001101/0.2632, allocations: 176.5 kB / 394.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.2632, allocations: 31.86 kB / 394.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002896/0.2635, allocations: 231 kB / 394.6 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2635, allocations: 4 kB / 394.6 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2635, allocations: 3.984 kB / 394.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002884/0.2638, allocations: 0.4954 MB / 395.1 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/0.2644, allocations: 0.5833 MB / 395.7 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.2644, allocations: 7.875 kB / 395.7 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.2645, allocations: 51.91 kB / 395.8 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.954e-05/0.2646, allocations: 23.67 kB / 395.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2646, allocations: 20 kB / 395.8 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006351/0.2652, allocations: 1.724 MB / 397.6 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2652, allocations: 0 / 397.6 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.2658, allocations: 416.1 kB / 398 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.2658, allocations: 27.95 kB / 398 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.2658, allocations: 8 kB / 398 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.2659, allocations: 11.98 kB / 398 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.266, allocations: 15.97 kB / 398 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.266, allocations: 11.98 kB / 398 MB, free: 3.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.612e-05/0.2661, allocations: 189.8 kB / 398.2 MB, free: 3.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2661, allocations: 0 / 398.2 MB, free: 3.426 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.2663, allocations: 95.92 kB / 398.3 MB, free: 3.332 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.0001688/0.2665, allocations: 115.2 kB / 398.4 MB, free: 3.211 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004491/0.267, allocations: 0.5024 MB / 398.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.267, allocations: 0 / 398.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.2671, allocations: 258.2 kB / 399.2 MB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.2676, allocations: 142.1 kB / 399.3 MB, free: 2.273 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2686, allocations: 0.5928 MB / 399.9 MB, free: 1.648 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.739e-05/0.2687, allocations: 88.62 kB / 400 MB, free: 1.543 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.2688, allocations: 50.94 kB / 400 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.332e-05/0.2689, allocations: 28.5 kB / 400.1 MB, free: 1.461 MB / 330.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2689, allocations: 0 / 400.1 MB, free: 1.461 MB / 330.7 MB Notification: Performance of Templates: time 0.007236/0.2761, allocations: 5.482 MB / 405.6 MB, free: 12.02 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.218516020104289]