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.001515/0.001515, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001495/0.001495, allocations: 167.7 kB / 25.33 MB, free: 9.449 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.8215/0.8215, allocations: 158.6 MB / 187.2 MB, free: 2.551 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.633e-06/1.633e-06, allocations: 0 / 251.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.657e-05, allocations: 2.312 kB / 251.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.03825/0.03828, allocations: 26.17 MB / 277.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.04129, allocations: 2.705 MB / 279.9 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003127/0.0416, allocations: 7.938 kB / 280 MB, free: 6.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005629/0.04216, allocations: 162.9 kB / 280.1 MB, free: 6.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007671/0.04293, allocations: 0.5434 MB / 280.7 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01306/0.05599, allocations: 6.572 MB / 287.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.05757, allocations: 1.617 MB / 288.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.05783, allocations: 145.4 kB / 289 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.05892, allocations: 0.8264 MB / 289.8 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005987/0.05952, allocations: 0.5337 MB / 290.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.05963, allocations: 84 kB / 290.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01158/0.07121, allocations: 8.83 MB / 299.3 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003302/0.07154, allocations: 351.1 kB / 299.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.07194, allocations: 339.4 kB / 299.9 MB, free: 2.539 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1248/0.1968, allocations: 6.295 MB / 306.2 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.1968, allocations: 1.344 kB / 306.2 MB, free: 26.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1968, allocations: 2.516 kB / 306.2 MB, free: 26.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.384e-05/0.1968, allocations: 2.875 kB / 306.2 MB, free: 26.32 MB / 282.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.005147/0.202, allocations: 1.567 MB / 307.8 MB, free: 25.45 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.202, allocations: 9.656 kB / 307.8 MB, free: 25.45 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004425/0.2024, allocations: 156.6 kB / 308 MB, free: 25.39 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.2029, allocations: 383.7 kB / 308.3 MB, free: 25.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.203, allocations: 45 kB / 308.4 MB, free: 25.21 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.475e-05/0.2031, allocations: 75.81 kB / 308.5 MB, free: 25.21 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.2041, allocations: 0.8918 MB / 309.4 MB, free: 24.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.2041, allocations: 3 kB / 309.4 MB, free: 24.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.2041, allocations: 29.59 kB / 309.4 MB, free: 24.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.2042, allocations: 14.56 kB / 309.4 MB, free: 24.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008751/0.205, allocations: 0.4923 MB / 309.9 MB, free: 24.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007219/0.2122, allocations: 3.887 MB / 313.8 MB, free: 24.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008793/0.2131, allocations: 481.4 kB / 314.2 MB, free: 24.15 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.2134, allocations: 203.3 kB / 314.4 MB, free: 24.14 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004757/0.2181, allocations: 2.561 MB / 317 MB, free: 24.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.2182, allocations: 50.48 kB / 317.1 MB, free: 23.96 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.475e-06/0.2182, allocations: 0 / 317.1 MB, free: 23.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.00445/0.2226, allocations: 2.194 MB / 319.3 MB, free: 23.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.2226, allocations: 63.06 kB / 319.3 MB, free: 23.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.2228, allocations: 323.1 kB / 319.6 MB, free: 23.29 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.2229, allocations: 45.95 kB / 319.7 MB, free: 23.25 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.223, allocations: 300.1 kB / 320 MB, free: 23.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.2231, allocations: 320.1 kB / 320.3 MB, free: 22.83 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.2232, allocations: 161.3 kB / 320.4 MB, free: 22.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.2233, allocations: 0.535 MB / 321 MB, free: 22.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.2236, allocations: 167.2 kB / 321.1 MB, free: 22.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.224, allocations: 325.1 kB / 321.5 MB, free: 22.17 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/0.2247, allocations: 0.5237 MB / 322 MB, free: 22.01 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2247, allocations: 3.906 kB / 322 MB, free: 22.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001288/0.226, allocations: 0.8144 MB / 322.8 MB, free: 21.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.226, allocations: 5.234 kB / 322.8 MB, free: 21.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.226, allocations: 7.875 kB / 322.8 MB, free: 21.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.2264, allocations: 135.4 kB / 322.9 MB, free: 21.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.2268, allocations: 188.3 kB / 323.1 MB, free: 21.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.2281, allocations: 5.297 MB / 328.4 MB, free: 16.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.2284, allocations: 22.06 kB / 328.4 MB, free: 16.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.2284, allocations: 41.12 kB / 328.5 MB, free: 16.51 MB / 282.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.000169/0.2286, allocations: 208.2 kB / 328.7 MB, free: 16.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002705/0.2289, allocations: 159 kB / 328.8 MB, free: 16.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.23, allocations: 0.9613 MB / 329.8 MB, free: 16.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.23, allocations: 7.594 kB / 329.8 MB, free: 16.06 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.23, allocations: 4 kB / 329.8 MB, free: 16.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007832/0.2308, allocations: 1.005 MB / 330.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.2323, allocations: 1.36 MB / 332.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2323, allocations: 0 / 332.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.2327, allocations: 167.2 kB / 332.3 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008169/0.2335, allocations: 275.7 kB / 332.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.2336, allocations: 33.47 kB / 332.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000294/0.2339, allocations: 1.827 MB / 334.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.2339, allocations: 3.562 kB / 334.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.2351, allocations: 1.035 MB / 335.5 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.2352, allocations: 41.64 kB / 335.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.2353, allocations: 18.44 kB / 335.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.2355, allocations: 35.25 kB / 335.6 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.2356, allocations: 57.67 kB / 335.7 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.2356, allocations: 48.31 kB / 335.7 MB, free: 12.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.2357, allocations: 237.7 kB / 335.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2357, allocations: 0 / 335.9 MB, free: 12.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.005086/0.2408, allocations: 1.35 MB / 337.3 MB, free: 12.49 MB / 282.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.006472/0.2473, allocations: 1.834 MB / 339.1 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001261/0.2486, allocations: 0.9026 MB / 340 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2486, allocations: 0.5625 kB / 340 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.249, allocations: 347.5 kB / 340.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009958/0.25, allocations: 356.8 kB / 340.7 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.2519, allocations: 1.335 MB / 342 MB, free: 9.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.18e-05/0.252, allocations: 168.1 kB / 342.2 MB, free: 9.289 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003975/0.2524, allocations: 169.6 kB / 342.4 MB, free: 9.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.2525, allocations: 79.31 kB / 342.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of SimCode: time 1.774e-06/0.2525, allocations: 0 / 342.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of Templates: time 0.0486/0.3011, allocations: 50.02 MB / 392.5 MB, free: 8.188 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: 13.419072299730033]