Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002431/0.002431, allocations: 95.86 kB / 20.96 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002663/0.002663, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.909e-05, allocations: 6.25 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1913/0.1913, allocations: 66.62 MB / 333.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008905/0.2002, allocations: 5.526 MB / 339.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003593/0.2006, allocations: 11.94 kB / 339.5 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.2017, allocations: 333.8 kB / 339.8 MB, free: 264 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.2027, allocations: 0.5396 MB / 340.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01976/0.2225, allocations: 7.526 MB / 347.9 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002203/0.2247, allocations: 1.558 MB / 349.4 MB, free: 6.594 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.225, allocations: 141.5 kB / 349.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.2263, allocations: 0.8533 MB / 350.4 MB, free: 5.594 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000906/0.2272, allocations: 0.5337 MB / 351 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.2274, allocations: 84 kB / 351 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01953/0.2469, allocations: 9.558 MB / 360.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005577/0.2475, allocations: 343.2 kB / 360.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006982/0.2482, allocations: 347.3 kB / 361.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01664/0.2648, allocations: 7.143 MB / 368.4 MB, free: 3.562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2648, allocations: 4 kB / 368.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2648, allocations: 0 / 368.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.2648, allocations: 0 / 368.4 MB, free: 3.559 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004002/0.2688, allocations: 1.664 MB / 370.1 MB, free: 1.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2689, allocations: 12.92 kB / 370.1 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005691/0.2694, allocations: 163.2 kB / 370.3 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007592/0.2702, allocations: 386.4 kB / 370.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.2702, allocations: 49.31 kB / 370.7 MB, free: 1.223 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.2704, allocations: 68 kB / 370.7 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.2725, allocations: 0.978 MB / 371.7 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.2725, allocations: 7.938 kB / 371.7 MB, free: 68 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-05/0.2726, allocations: 28 kB / 371.8 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.2726, allocations: 12 kB / 371.8 MB, free: 28 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.2743, allocations: 0.6649 MB / 372.4 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.289, allocations: 4.113 MB / 376.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.2907, allocations: 0.5672 MB / 377.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005336/0.2912, allocations: 281.7 kB / 377.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01174/0.3029, allocations: 2.648 MB / 380 MB, free: 7.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.228e-05/0.303, allocations: 46.05 kB / 380.1 MB, free: 7.645 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.474e-06/0.303, allocations: 0 / 380.1 MB, free: 7.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=88): time 0.008886/0.3119, allocations: 2.558 MB / 382.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.312, allocations: 60.41 kB / 382.7 MB, free: 4.988 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.3124, allocations: 384.1 kB / 383.1 MB, free: 4.598 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.199e-05/0.3125, allocations: 41.7 kB / 383.1 MB, free: 4.551 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.3127, allocations: 299.8 kB / 383.4 MB, free: 4.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.3131, allocations: 349.2 kB / 383.8 MB, free: 3.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003513/0.3134, allocations: 192.2 kB / 383.9 MB, free: 3.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003462/0.3138, allocations: 0.5587 MB / 384.5 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.3143, allocations: 249.9 kB / 384.7 MB, free: 2.895 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009412/0.3152, allocations: 427.4 kB / 385.2 MB, free: 2.434 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.3171, allocations: 0.7255 MB / 385.9 MB, free: 1.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3172, allocations: 7.938 kB / 385.9 MB, free: 1.652 MB / 330.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002627/0.3198, allocations: 0.9676 MB / 386.9 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3198, allocations: 8 kB / 386.9 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3198, allocations: 7.938 kB / 386.9 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008394/0.3206, allocations: 162.9 kB / 387 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/0.3215, allocations: 183.7 kB / 387.2 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004511/0.326, allocations: 5.399 MB / 392.6 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.3264, allocations: 19.98 kB / 392.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.3265, allocations: 43.98 kB / 392.7 MB, free: 10.52 MB / 346.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.0006196/0.3271, allocations: 248.3 kB / 392.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/0.3277, allocations: 151.1 kB / 393.1 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.3303, allocations: 1.202 MB / 394.3 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.3303, allocations: 8 kB / 394.3 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3303, allocations: 0 / 394.3 MB, free: 8.871 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00192/0.3322, allocations: 1.146 MB / 395.4 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.3356, allocations: 1.612 MB / 397 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3356, allocations: 0 / 397 MB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007789/0.3363, allocations: 171.8 kB / 397.2 MB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/0.3381, allocations: 286.9 kB / 397.5 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.3382, allocations: 39.86 kB / 397.5 MB, free: 5.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.3396, allocations: 1.861 MB / 399.4 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3396, allocations: 0 / 399.4 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.3425, allocations: 1.288 MB / 400.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.3427, allocations: 51.64 kB / 400.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-05/0.3428, allocations: 20 kB / 400.7 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/0.3433, allocations: 32.03 kB / 400.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.3434, allocations: 64.83 kB / 400.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.3435, allocations: 43.97 kB / 400.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003171/0.3438, allocations: 267 kB / 401.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3438, allocations: 0 / 401.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003935/0.3478, allocations: 1.411 MB / 402.5 MB, free: 308 kB / 346.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.006254/0.354, allocations: 1.909 MB / 404.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.3564, allocations: 1.079 MB / 405.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.3564, allocations: 8.062 kB / 405.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009757/0.3574, allocations: 422.4 kB / 406 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001921/0.3593, allocations: 359 kB / 406.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.3624, allocations: 1.434 MB / 407.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.3628, allocations: 309.8 kB / 408 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006749/0.3634, allocations: 168.8 kB / 408.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/0.3637, allocations: 72.48 kB / 408.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/0.3637, allocations: 0 / 408.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.1697/0.5334, allocations: 50.04 MB / 458.3 MB, free: 122.1 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 20.18497996707447]