Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006836/0.0006836, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003811/0.003811, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8484/0.8484, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.482e-05, allocations: 3.266 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0398/0.03983, allocations: 58.85 MB / 384.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004117/0.04394, allocations: 4.966 MB / 389.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.04412, allocations: 11.94 kB / 389.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006177/0.04474, allocations: 333.8 kB / 389.9 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005265/0.04526, allocations: 0.5356 MB / 390.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01149/0.05675, allocations: 7.534 MB / 398 MB, free: 6.922 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.05779, allocations: 1.566 MB / 399.6 MB, free: 5.352 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.05798, allocations: 137.5 kB / 399.7 MB, free: 5.215 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006111/0.05859, allocations: 0.8494 MB / 400.6 MB, free: 4.363 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004409/0.05903, allocations: 0.5337 MB / 401.1 MB, free: 3.828 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.003e-05/0.0591, allocations: 84 kB / 401.2 MB, free: 3.746 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.06911, allocations: 9.582 MB / 410.8 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.06948, allocations: 351.1 kB / 411.1 MB, free: 9.805 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002567/0.06973, allocations: 335.4 kB / 411.4 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007962/0.0777, allocations: 7.152 MB / 418.6 MB, free: 2.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.0777, allocations: 0 / 418.6 MB, free: 2.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0777, allocations: 0 / 418.6 MB, free: 2.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.07771, allocations: 0 / 418.6 MB, free: 2.309 MB / 378.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.00199/0.0797, allocations: 1.525 MB / 420.1 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.07974, allocations: 15.98 kB / 420.1 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.07999, allocations: 87.55 kB / 420.2 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.08041, allocations: 387.6 kB / 420.6 MB, free: 248 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.08044, allocations: 45.31 kB / 420.6 MB, free: 200 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.0805, allocations: 63.94 kB / 420.7 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.0816, allocations: 1.22 MB / 421.9 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.08162, allocations: 3.953 kB / 421.9 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.08166, allocations: 32 kB / 421.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.08167, allocations: 16 kB / 422 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.08273, allocations: 1.016 MB / 423 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006383/0.08911, allocations: 4.046 MB / 427 MB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009957/0.09011, allocations: 0.7034 MB / 427.7 MB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.09046, allocations: 390.8 kB / 428.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00448/0.09494, allocations: 2.6 MB / 430.7 MB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.09497, allocations: 63.03 kB / 430.8 MB, free: 5.883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 2.084e-06/0.09497, allocations: 0 / 430.8 MB, free: 5.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.005067/0.1, allocations: 3.14 MB / 433.9 MB, free: 2.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.1001, allocations: 64.34 kB / 434 MB, free: 2.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.1003, allocations: 305.8 kB / 434.3 MB, free: 2.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.1003, allocations: 41.7 kB / 434.3 MB, free: 2.273 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1004, allocations: 249 kB / 434.6 MB, free: 2.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.1006, allocations: 313.2 kB / 434.9 MB, free: 1.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.1007, allocations: 170.6 kB / 435 MB, free: 1.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.296e-05/0.1008, allocations: 358.8 kB / 435.4 MB, free: 1.184 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003676/0.1012, allocations: 373.8 kB / 435.7 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/0.1017, allocations: 488.2 kB / 436.2 MB, free: 316 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.1027, allocations: 0.9021 MB / 437.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1027, allocations: 0 / 437.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001415/0.1041, allocations: 1.113 MB / 438.2 MB, free: 14.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1041, allocations: 4 kB / 438.2 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1042, allocations: 4 kB / 438.2 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/0.1046, allocations: 171.5 kB / 438.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.1049, allocations: 195.7 kB / 438.6 MB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.1067, allocations: 3.852 MB / 442.5 MB, free: 9.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.1068, allocations: 24 kB / 442.5 MB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.1069, allocations: 43.98 kB / 442.5 MB, free: 9.691 MB / 410.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.0002001/0.1071, allocations: 230.7 kB / 442.7 MB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.1073, allocations: 63.67 kB / 442.8 MB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.1086, allocations: 1.276 MB / 444.1 MB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1086, allocations: 8 kB / 444.1 MB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1086, allocations: 0 / 444.1 MB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.1097, allocations: 1.316 MB / 445.4 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.1115, allocations: 1.73 MB / 447.1 MB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1115, allocations: 64 / 447.1 MB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.1119, allocations: 159.8 kB / 447.3 MB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007855/0.1127, allocations: 313.1 kB / 447.6 MB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.1127, allocations: 31.98 kB / 447.6 MB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000432/0.1131, allocations: 1.281 MB / 448.9 MB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1131, allocations: 3.938 kB / 448.9 MB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.1146, allocations: 1.41 MB / 450.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.1147, allocations: 51.72 kB / 450.4 MB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.1147, allocations: 20 kB / 450.4 MB, free: 1.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.1149, allocations: 27.98 kB / 450.4 MB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.115, allocations: 64.77 kB / 450.5 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.115, allocations: 43.97 kB / 450.5 MB, free: 1.379 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.1152, allocations: 239 kB / 450.8 MB, free: 1.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1152, allocations: 0 / 450.8 MB, free: 1.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.1266/0.2418, allocations: 1.421 MB / 452.2 MB, free: 119.9 MB / 410.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.00459/0.2464, allocations: 1.918 MB / 454.1 MB, free: 119.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.2478, allocations: 1.104 MB / 455.2 MB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2478, allocations: 3.844 kB / 455.2 MB, free: 119.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.2483, allocations: 480.3 kB / 455.7 MB, free: 119.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009494/0.2493, allocations: 330 kB / 456 MB, free: 119.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.2508, allocations: 1.563 MB / 457.6 MB, free: 118.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.251, allocations: 317 kB / 457.9 MB, free: 118.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.2512, allocations: 90.77 kB / 458 MB, free: 118.7 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2512, allocations: 0 / 458 MB, free: 118.7 MB / 410.7 MB Notification: Performance of Templates: time 0.02836/0.2795, allocations: 41.17 MB / 499.1 MB, free: 80.09 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.045158277265728]