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.0008709/0.0008709, allocations: 80.92 kB / 22.29 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.0009594/0.0009594, allocations: 167.7 kB / 25.7 MB, free: 8.438 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.8538/0.8538, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|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.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 251.5 MB, free: 7.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.436e-05, allocations: 2.312 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.03136/0.03138, allocations: 26.09 MB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.03439, allocations: 2.712 MB / 280.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.03457, allocations: 7.938 kB / 280.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.03492, allocations: 170.9 kB / 280.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005744/0.0355, allocations: 0.5395 MB / 281.1 MB, free: 9.625 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.0458, allocations: 6.619 MB / 287.7 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.04689, allocations: 1.617 MB / 289.3 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.04707, allocations: 150.1 kB / 289.4 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000562/0.04763, allocations: 0.8304 MB / 290.3 MB, free: 384 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.04807, allocations: 0.5025 MB / 290.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.55e-05/0.04814, allocations: 84 kB / 290.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00943/0.05757, allocations: 8.83 MB / 299.7 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.0578, allocations: 351.1 kB / 300 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.05802, allocations: 331.4 kB / 300.4 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00602/0.06404, allocations: 6.306 MB / 306.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.06405, allocations: 0 / 306.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.06405, allocations: 0 / 306.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.06405, allocations: 0 / 306.7 MB, free: 15.95 MB / 298.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.001767/0.06582, allocations: 1.415 MB / 308.1 MB, free: 14.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.06585, allocations: 12.03 kB / 308.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.06612, allocations: 151.8 kB / 308.2 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.06659, allocations: 315.7 kB / 308.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.06661, allocations: 45.31 kB / 308.6 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.06668, allocations: 71.98 kB / 308.7 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.06741, allocations: 0.844 MB / 309.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.06742, allocations: 0 / 309.5 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.06746, allocations: 31.94 kB / 309.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.06747, allocations: 16 kB / 309.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.068, allocations: 358.1 kB / 309.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005305/0.07331, allocations: 3.436 MB / 313.3 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.07394, allocations: 448.6 kB / 313.8 MB, free: 8.645 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.07409, allocations: 153.6 kB / 313.9 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004124/0.07822, allocations: 2.41 MB / 316.3 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.07824, allocations: 51.22 kB / 316.4 MB, free: 6.023 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 2.094e-06/0.07824, allocations: 0 / 316.4 MB, free: 6.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.003577/0.08182, allocations: 1.97 MB / 318.4 MB, free: 4.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.08185, allocations: 60.41 kB / 318.4 MB, free: 3.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.082, allocations: 252.9 kB / 318.7 MB, free: 3.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.08204, allocations: 41.7 kB / 318.7 MB, free: 3.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.803e-05/0.08213, allocations: 229.5 kB / 318.9 MB, free: 3.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.08229, allocations: 325.2 kB / 319.2 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.08243, allocations: 150.5 kB / 319.4 MB, free: 2.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.08252, allocations: 366.7 kB / 319.7 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.08266, allocations: 108.8 kB / 319.9 MB, free: 2.453 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.08295, allocations: 232.2 kB / 320.1 MB, free: 2.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.08351, allocations: 438.3 kB / 320.5 MB, free: 1.723 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.08351, allocations: 0 / 320.5 MB, free: 1.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009075/0.08442, allocations: 0.5841 MB / 321.1 MB, free: 1.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.08443, allocations: 4 kB / 321.1 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.08444, allocations: 4.281 kB / 321.1 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.08478, allocations: 147.7 kB / 321.2 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.08514, allocations: 183.8 kB / 321.4 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.08652, allocations: 3.542 MB / 325 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.08667, allocations: 24.31 kB / 325 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.08672, allocations: 35.92 kB / 325 MB, free: 12.93 MB / 314.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.0001433/0.08686, allocations: 164.5 kB / 325.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.0871, allocations: 135.2 kB / 325.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008518/0.08795, allocations: 0.7654 MB / 326.1 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.08796, allocations: 8 kB / 326.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.08796, allocations: 4 kB / 326.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005825/0.08854, allocations: 0.8195 MB / 326.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.08968, allocations: 1.044 MB / 328 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.08968, allocations: 0 / 328 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/0.09001, allocations: 163.8 kB / 328.1 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007637/0.09078, allocations: 298.9 kB / 328.4 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.09081, allocations: 27.92 kB / 328.4 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004942/0.09131, allocations: 1.207 MB / 329.6 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.09131, allocations: 0 / 329.6 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008957/0.0922, allocations: 0.8147 MB / 330.5 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.09224, allocations: 43.72 kB / 330.5 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.09229, allocations: 19.98 kB / 330.5 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.0925, allocations: 36.05 kB / 330.6 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.09255, allocations: 52.89 kB / 330.6 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.0926, allocations: 31.97 kB / 330.6 MB, free: 6.988 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.346e-05/0.09267, allocations: 100.6 kB / 330.7 MB, free: 6.891 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09267, allocations: 0 / 330.7 MB, free: 6.891 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002362/0.09503, allocations: 1.349 MB / 332.1 MB, free: 5.539 MB / 314.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.003209/0.09824, allocations: 1.897 MB / 334 MB, free: 3.645 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007348/0.09897, allocations: 0.6801 MB / 334.7 MB, free: 2.93 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.09898, allocations: 4 kB / 334.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.0993, allocations: 278.7 kB / 334.9 MB, free: 2.645 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007387/0.1, allocations: 349.6 kB / 335.3 MB, free: 2.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1016, allocations: 1.218 MB / 336.5 MB, free: 1.043 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.853e-05/0.1016, allocations: 172.9 kB / 336.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004613/0.1021, allocations: 141 kB / 336.8 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005951/0.1027, allocations: 341 kB / 337.1 MB, free: 388 kB / 314.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1027, allocations: 4 kB / 337.1 MB, free: 384 kB / 314.7 MB Notification: Performance of Templates: time 0.1367/0.2394, allocations: 57.36 MB / 394.5 MB, free: 51.32 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.708023267332464]