Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001918/0.001918, allocations: 103.5 kB / 21.74 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.002026/0.002026, allocations: 162 kB / 25.03 MB, free: 8.934 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.332/1.332, allocations: 158.6 MB / 186.8 MB, free: 2.918 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.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 250.4 MB, free: 7.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.918e-05, allocations: 6.109 kB / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.09357/0.0936, allocations: 66.78 MB / 317.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0089/0.1025, allocations: 5.519 MB / 322.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.1028, allocations: 7.938 kB / 322.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.1038, allocations: 341.9 kB / 323 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.1048, allocations: 0.5394 MB / 323.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01979/0.1246, allocations: 7.186 MB / 330.7 MB, free: 7.164 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00234/0.127, allocations: 1.566 MB / 332.3 MB, free: 5.594 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.1273, allocations: 141.5 kB / 332.5 MB, free: 5.453 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.1286, allocations: 0.8572 MB / 333.3 MB, free: 4.594 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009561/0.1296, allocations: 0.5376 MB / 333.8 MB, free: 4.055 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001626/0.1298, allocations: 80 kB / 333.9 MB, free: 3.977 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01943/0.1492, allocations: 9.457 MB / 343.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005757/0.1498, allocations: 347.2 kB / 343.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008789/0.1507, allocations: 339.4 kB / 344.1 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01579/0.1664, allocations: 7.116 MB / 351.2 MB, free: 2.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1664, allocations: 4 kB / 351.2 MB, free: 2.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1664, allocations: 7.938 kB / 351.2 MB, free: 2.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.1665, allocations: 0 / 351.2 MB, free: 2.684 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004234/0.1707, allocations: 1.652 MB / 352.8 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1707, allocations: 11.98 kB / 352.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005755/0.1713, allocations: 163.2 kB / 353 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008007/0.1721, allocations: 386.4 kB / 353.4 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.436e-05/0.1722, allocations: 49.31 kB / 353.4 MB, free: 364 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.1723, allocations: 71.94 kB / 353.5 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1024/0.2747, allocations: 0.9677 MB / 354.5 MB, free: 107.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.2747, allocations: 4.969 kB / 354.5 MB, free: 107.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.2748, allocations: 27.62 kB / 354.5 MB, free: 107.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.2748, allocations: 16.78 kB / 354.5 MB, free: 107.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.2765, allocations: 0.6668 MB / 355.2 MB, free: 107.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.2886, allocations: 4.113 MB / 359.3 MB, free: 106.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.2899, allocations: 0.5598 MB / 359.9 MB, free: 106.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.2903, allocations: 277.9 kB / 360.1 MB, free: 106.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009711/0.3, allocations: 2.649 MB / 362.8 MB, free: 104.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.3001, allocations: 50.05 kB / 362.8 MB, free: 104 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.685e-06/0.3001, allocations: 0 / 362.8 MB, free: 104 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.007366/0.3074, allocations: 2.541 MB / 365.4 MB, free: 101.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.3075, allocations: 64.34 kB / 365.4 MB, free: 101.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.3078, allocations: 376.9 kB / 365.8 MB, free: 101.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/0.3078, allocations: 41.7 kB / 365.8 MB, free: 101 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.308, allocations: 306.4 kB / 366.1 MB, free: 100.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.3081, allocations: 339 kB / 366.5 MB, free: 100.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/0.3084, allocations: 200.2 kB / 366.7 MB, free: 100.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3085, allocations: 0.5638 MB / 367.2 MB, free: 99.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.3089, allocations: 245.9 kB / 367.5 MB, free: 99.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006704/0.3095, allocations: 427.4 kB / 367.9 MB, free: 98.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.3108, allocations: 0.7333 MB / 368.6 MB, free: 98.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3108, allocations: 0 / 368.6 MB, free: 98.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002118/0.3129, allocations: 0.9735 MB / 369.6 MB, free: 97.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3129, allocations: 8.281 kB / 369.6 MB, free: 97.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3129, allocations: 8 kB / 369.6 MB, free: 97.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007431/0.3137, allocations: 158.6 kB / 369.8 MB, free: 97.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006935/0.3144, allocations: 189.8 kB / 369.9 MB, free: 96.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.3163, allocations: 5.395 MB / 375.3 MB, free: 91.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.3167, allocations: 24 kB / 375.4 MB, free: 91.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-05/0.3168, allocations: 44.28 kB / 375.4 MB, free: 91.12 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002796/0.3171, allocations: 238.7 kB / 375.6 MB, free: 90.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004756/0.3176, allocations: 160.2 kB / 375.8 MB, free: 90.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.3195, allocations: 1.202 MB / 377 MB, free: 89.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3195, allocations: 8 kB / 377 MB, free: 89.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.3195, allocations: 0 / 377 MB, free: 89.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001303/0.3208, allocations: 1.142 MB / 378.1 MB, free: 88.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.3234, allocations: 1.619 MB / 379.8 MB, free: 86.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3234, allocations: 0 / 379.8 MB, free: 86.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/0.324, allocations: 167.8 kB / 379.9 MB, free: 86.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/0.3256, allocations: 285.9 kB / 380.2 MB, free: 86.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/0.3257, allocations: 31.97 kB / 380.2 MB, free: 86.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005192/0.3262, allocations: 1.872 MB / 382.1 MB, free: 84.19 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3262, allocations: 0 / 382.1 MB, free: 84.19 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.3282, allocations: 1.292 MB / 383.4 MB, free: 82.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.3284, allocations: 43.7 kB / 383.5 MB, free: 82.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.3284, allocations: 16 kB / 383.5 MB, free: 82.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.329, allocations: 31.97 kB / 383.5 MB, free: 82.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.3291, allocations: 60.89 kB / 383.6 MB, free: 82.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/0.3292, allocations: 47.91 kB / 383.6 MB, free: 82.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001876/0.3293, allocations: 267 kB / 383.9 MB, free: 82.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3293, allocations: 3.938 kB / 383.9 MB, free: 82.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003139/0.3325, allocations: 1.403 MB / 385.3 MB, free: 80.99 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005492/0.338, allocations: 1.931 MB / 387.2 MB, free: 79.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.3397, allocations: 1.083 MB / 388.3 MB, free: 78.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3397, allocations: 0 / 388.3 MB, free: 78.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007485/0.3405, allocations: 426.5 kB / 388.7 MB, free: 77.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.3422, allocations: 353.2 kB / 389 MB, free: 77.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.3443, allocations: 1.437 MB / 390.5 MB, free: 75.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.3445, allocations: 309.8 kB / 390.8 MB, free: 75.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006495/0.3452, allocations: 172.8 kB / 391 MB, free: 75.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.3453, allocations: 76.47 kB / 391 MB, free: 75.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.293e-06/0.3453, allocations: 0 / 391 MB, free: 75.27 MB / 330.7 MB Notification: Performance of Templates: time 0.05459/0.3999, allocations: 51.56 MB / 442.6 MB, free: 23.71 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 19.951141671044752]