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.001426/0.001426, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001168/0.001168, allocations: 167.7 kB / 25.69 MB, free: 8.398 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.8328/0.8328, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.663e-06/1.663e-06, allocations: 0 / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.5e-05, allocations: 6.25 kB / 251.6 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.2451/0.2452, allocations: 129.3 MB / 380.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.2463, allocations: 0.7631 MB / 381.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.2465, allocations: 7 kB / 381.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.247, allocations: 99.97 kB / 381.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006595/0.2477, allocations: 345 kB / 382.1 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.2483, allocations: 390.2 kB / 382.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007443/0.2491, allocations: 0.8774 MB / 383.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.2492, allocations: 77.39 kB / 383.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.2498, allocations: 484.4 kB / 383.9 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003445/0.2502, allocations: 285.9 kB / 384.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.2502, allocations: 34.36 kB / 384.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.2503, allocations: 66.45 kB / 384.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.367e-05/0.2504, allocations: 102.7 kB / 384.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.2505, allocations: 143.4 kB / 384.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.2509, allocations: 309.5 kB / 384.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2509, allocations: 1.203 kB / 384.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2509, allocations: 4 kB / 384.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.2509, allocations: 0 / 384.9 MB, free: 10.23 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.0004436/0.2513, allocations: 494.3 kB / 385.3 MB, free: 9.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.2514, allocations: 12.36 kB / 385.4 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.2516, allocations: 77.08 kB / 385.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.2518, allocations: 211.4 kB / 385.6 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2518, allocations: 15.91 kB / 385.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.2518, allocations: 33.86 kB / 385.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.2521, allocations: 447.2 kB / 386.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2521, allocations: 2.969 kB / 386.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.2521, allocations: 9.719 kB / 386.1 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2521, allocations: 13.19 kB / 386.1 MB, free: 9.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.2522, allocations: 84.5 kB / 386.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007627/0.2529, allocations: 0.7392 MB / 387 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.2531, allocations: 115.9 kB / 387.1 MB, free: 8.871 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.2532, allocations: 50.02 kB / 387.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.2532, allocations: 10.91 kB / 387.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.2532, allocations: 40.36 kB / 387.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.532e-06/0.2532, allocations: 4 kB / 387.2 MB, free: 8.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001104/0.2543, allocations: 0.6314 MB / 387.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.515e-05/0.2543, allocations: 62.28 kB / 387.9 MB, free: 8.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.2544, allocations: 216.7 kB / 388.1 MB, free: 8.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.2544, allocations: 31.64 kB / 388.1 MB, free: 8.367 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.2545, allocations: 185.6 kB / 388.3 MB, free: 8.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.2545, allocations: 95.83 kB / 388.4 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.2546, allocations: 68.17 kB / 388.5 MB, free: 8.148 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.303e-05/0.2546, allocations: 334.5 kB / 388.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.2547, allocations: 32.41 kB / 388.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.855e-05/0.2547, allocations: 126.8 kB / 388.9 MB, free: 7.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.2548, allocations: 205.9 kB / 389.1 MB, free: 7.586 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2548, allocations: 0 / 389.1 MB, free: 7.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002084/0.2551, allocations: 232 kB / 389.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.2551, allocations: 5.5 kB / 389.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2551, allocations: 2.781 kB / 389.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.53e-05/0.2552, allocations: 39.22 kB / 389.4 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.2553, allocations: 77.16 kB / 389.5 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006831/0.256, allocations: 2.328 MB / 391.8 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.2561, allocations: 12.16 kB / 391.8 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.2561, allocations: 8.062 kB / 391.8 MB, free: 5.195 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 7.489e-05/0.2562, allocations: 135 kB / 392 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.2562, allocations: 27.56 kB / 392 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.2564, allocations: 174.5 kB / 392.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2564, allocations: 2.844 kB / 392.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2564, allocations: 5.125 kB / 392.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001508/0.2566, allocations: 453.8 kB / 392.6 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.257, allocations: 414.7 kB / 393 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.257, allocations: 2.094 kB / 393 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.2571, allocations: 63.28 kB / 393.1 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.231e-05/0.2571, allocations: 17.75 kB / 393.1 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2572, allocations: 3.562 kB / 393.1 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002901/0.2574, allocations: 1.163 MB / 394.3 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2574, allocations: 4.125 kB / 394.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.2577, allocations: 301 kB / 394.6 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.2577, allocations: 17.36 kB / 394.6 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.2577, allocations: 6.094 kB / 394.6 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.2578, allocations: 10.09 kB / 394.6 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.2578, allocations: 20.62 kB / 394.6 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.2578, allocations: 5.609 kB / 394.6 MB, free: 3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.223e-05/0.2579, allocations: 65.19 kB / 394.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2579, allocations: 4.031 kB / 394.7 MB, free: 2.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002781/0.2582, allocations: 89.44 kB / 394.8 MB, free: 2.988 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.0001729/0.2583, allocations: 101.3 kB / 394.9 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.2587, allocations: 384.5 kB / 395.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.2587, allocations: 2.812 kB / 395.3 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.2588, allocations: 186.1 kB / 395.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2592, allocations: 140.5 kB / 395.6 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008813/0.26, allocations: 0.5606 MB / 396.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.2601, allocations: 91.7 kB / 396.2 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.2602, allocations: 46.55 kB / 396.3 MB, free: 2.098 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.2605, allocations: 164 kB / 396.4 MB, free: 2.047 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2605, allocations: 3.938 kB / 396.4 MB, free: 2.043 MB / 330.7 MB Notification: Performance of Templates: time 0.00751/0.268, allocations: 5.997 MB / 402.4 MB, free: 15.45 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: 2.9634801279753447]