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.001136/0.001136, allocations: 91.62 kB / 22.19 MB, free: 2.348 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.001196/0.001196, allocations: 157.9 kB / 25.44 MB, free: 9.367 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.806/0.806, allocations: 158.6 MB / 187.2 MB, free: 3.059 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.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.263e-06/1.263e-06, allocations: 0 / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.955e-05, allocations: 2.281 kB / 299.7 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2076/0.2077, allocations: 58.83 MB / 358.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.2128, allocations: 4.968 MB / 363.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.2131, allocations: 9.719 kB / 363.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.2138, allocations: 341.2 kB / 363.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007175/0.2145, allocations: 0.5335 MB / 364.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01191/0.2264, allocations: 7.202 MB / 371.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.2277, allocations: 1.569 MB / 373.2 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.2279, allocations: 149.9 kB / 373.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000651/0.2286, allocations: 0.8479 MB / 374.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004608/0.229, allocations: 0.5298 MB / 374.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.82e-05/0.2291, allocations: 81.12 kB / 374.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009833/0.2389, allocations: 9.449 MB / 384.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.2392, allocations: 345.2 kB / 384.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.2394, allocations: 339.6 kB / 384.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007255/0.2467, allocations: 7.097 MB / 392 MB, free: 6.824 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2467, allocations: 0 / 392 MB, free: 6.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.2467, allocations: 0 / 392 MB, free: 6.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2467, allocations: 2.906 kB / 392 MB, free: 6.824 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.001999/0.2487, allocations: 1.515 MB / 393.5 MB, free: 5.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.2487, allocations: 12.08 kB / 393.5 MB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.249, allocations: 87.44 kB / 393.6 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.2494, allocations: 391.5 kB / 394 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.2495, allocations: 47.09 kB / 394 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/0.2495, allocations: 61.81 kB / 394.1 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.2505, allocations: 1.22 MB / 395.3 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.2506, allocations: 1.688 kB / 395.3 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.2506, allocations: 28.62 kB / 395.3 MB, free: 4.156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.2506, allocations: 16 kB / 395.3 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009628/0.2516, allocations: 1.023 MB / 396.4 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006113/0.2577, allocations: 4.053 MB / 400.4 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.2587, allocations: 0.7023 MB / 401.1 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006537/0.2594, allocations: 391 kB / 401.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004588/0.264, allocations: 2.625 MB / 404.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.264, allocations: 53.75 kB / 404.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 2.154e-06/0.264, allocations: 3.938 kB / 404.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=88): time 0.00511/0.2691, allocations: 3.147 MB / 407.3 MB, free: 8.211 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.2692, allocations: 60.41 kB / 407.4 MB, free: 8.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.2694, allocations: 301.8 kB / 407.7 MB, free: 7.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.2694, allocations: 45.7 kB / 407.7 MB, free: 7.789 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.2695, allocations: 245.1 kB / 408 MB, free: 7.543 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.2697, allocations: 317.5 kB / 408.3 MB, free: 7.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.2699, allocations: 163.8 kB / 408.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003985/0.2703, allocations: 362.7 kB / 408.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.2706, allocations: 369.8 kB / 409.2 MB, free: 6.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.2712, allocations: 495.1 kB / 409.6 MB, free: 5.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2722, allocations: 0.8957 MB / 410.5 MB, free: 4.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2722, allocations: 8 kB / 410.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001464/0.2737, allocations: 1.108 MB / 411.6 MB, free: 3.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.2737, allocations: 8 kB / 411.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2737, allocations: 4 kB / 411.7 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/0.2741, allocations: 168.9 kB / 411.8 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.2745, allocations: 189.5 kB / 412 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.2769, allocations: 3.864 MB / 415.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.277, allocations: 20 kB / 415.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/0.2771, allocations: 43.98 kB / 415.9 MB, free: 15.29 MB / 362.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.0002287/0.2773, allocations: 224.2 kB / 416.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.2775, allocations: 63.64 kB / 416.2 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.279, allocations: 1.28 MB / 417.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.279, allocations: 12 kB / 417.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.279, allocations: 0 / 417.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/0.2801, allocations: 1.318 MB / 418.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.2821, allocations: 1.721 MB / 420.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.2821, allocations: 4 kB / 420.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.2825, allocations: 160 kB / 420.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008244/0.2833, allocations: 312.6 kB / 421 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.2833, allocations: 27.98 kB / 421 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000563/0.2839, allocations: 1.288 MB / 422.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2839, allocations: 0 / 422.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.2858, allocations: 1.409 MB / 423.7 MB, free: 7.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.2859, allocations: 47.77 kB / 423.8 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.2859, allocations: 24.19 kB / 423.8 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.2862, allocations: 27.98 kB / 423.8 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.2862, allocations: 52.89 kB / 423.9 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.2863, allocations: 47.95 kB / 423.9 MB, free: 7.047 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001776/0.2865, allocations: 243 kB / 424.2 MB, free: 6.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2865, allocations: 0 / 424.2 MB, free: 6.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004245/0.2907, allocations: 1.411 MB / 425.6 MB, free: 5.391 MB / 362.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.00355/0.2943, allocations: 1.932 MB / 427.5 MB, free: 3.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.2955, allocations: 1.107 MB / 428.6 MB, free: 2.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2955, allocations: 4 kB / 428.6 MB, free: 2.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.296, allocations: 475.8 kB / 429.1 MB, free: 2.012 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.2969, allocations: 341.7 kB / 429.4 MB, free: 1.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.2989, allocations: 1.558 MB / 431 MB, free: 96 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.2991, allocations: 313.8 kB / 431.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.2993, allocations: 96.39 kB / 431.4 MB, free: 15.67 MB / 378.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2993, allocations: 0 / 431.4 MB, free: 15.67 MB / 378.7 MB Notification: Performance of Templates: time 0.04124/0.3406, allocations: 42.17 MB / 473.5 MB, free: 5.434 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] 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: 13.338139255531132]