Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.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.001392/0.001392, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.00152/0.00152, allocations: 207.3 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.484/1.484, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 63.91 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2575, allocations: 53.41 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.06268/0.3202, allocations: 24.02 MB / 455.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004769/0.325, allocations: 2.014 MB / 457.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.3251, allocations: 0 / 457.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004826/0.3256, allocations: 63.59 kB / 457.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006956/0.3263, allocations: 159.1 kB / 457.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02898/0.3552, allocations: 6.51 MB / 464.4 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007842/0.356, allocations: 346.6 kB / 464.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.63e-05/0.3561, allocations: 9.75 kB / 464.7 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.3565, allocations: 139.6 kB / 464.9 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.3569, allocations: 131.5 kB / 465 MB, free: 5.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.289e-05/0.357, allocations: 12 kB / 465 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02812/0.3851, allocations: 8.975 MB / 474 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.3853, allocations: 79.72 kB / 474.1 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.3855, allocations: 87.66 kB / 474.2 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.3996, allocations: 4.681 MB / 478.8 MB, free: 7.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3996, allocations: 0 / 478.8 MB, free: 7.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3996, allocations: 0 / 478.8 MB, free: 7.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.855e-05/0.3996, allocations: 3.984 kB / 478.8 MB, free: 7.203 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.004623/0.4042, allocations: 1.108 MB / 480 MB, free: 6.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4043, allocations: 11.98 kB / 480 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.4046, allocations: 28.22 kB / 480 MB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.405, allocations: 160.9 kB / 480.1 MB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.405, allocations: 12.33 kB / 480.2 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.189e-05/0.4051, allocations: 19.95 kB / 480.2 MB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.4064, allocations: 396.2 kB / 480.6 MB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.4064, allocations: 4 kB / 480.6 MB, free: 5.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.4065, allocations: 4 kB / 480.6 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.4065, allocations: 15.92 kB / 480.6 MB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.408, allocations: 303.8 kB / 480.9 MB, free: 5.062 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.4103, allocations: 0.6555 MB / 481.5 MB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.4115, allocations: 248.8 kB / 481.8 MB, free: 4.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.4121, allocations: 125.6 kB / 481.9 MB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01295/0.425, allocations: 2.69 MB / 484.6 MB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.4251, allocations: 34.56 kB / 484.6 MB, free: 1.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.424e-06/0.4251, allocations: 0 / 484.6 MB, free: 1.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003071/0.4281, allocations: 0.7095 MB / 485.3 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.4282, allocations: 81.11 kB / 485.4 MB, free: 444 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.4283, allocations: 141.8 kB / 485.6 MB, free: 292 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.4284, allocations: 37.7 kB / 485.6 MB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.4285, allocations: 112.9 kB / 485.7 MB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.4286, allocations: 138.9 kB / 485.8 MB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.4288, allocations: 69.55 kB / 485.9 MB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.429, allocations: 338.8 kB / 486.2 MB, free: 15.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.4294, allocations: 131.9 kB / 486.4 MB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005361/0.4299, allocations: 215.5 kB / 486.6 MB, free: 15.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.4309, allocations: 359.5 kB / 486.9 MB, free: 14.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4309, allocations: 0 / 486.9 MB, free: 14.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00127/0.4322, allocations: 420.5 kB / 487.3 MB, free: 14.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.4322, allocations: 4 kB / 487.3 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4322, allocations: 4 kB / 487.3 MB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.4322, allocations: 7.938 kB / 487.4 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.4327, allocations: 91.86 kB / 487.4 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.4328, allocations: 8.156 kB / 487.5 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.4331, allocations: 31.88 kB / 487.5 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.4331, allocations: 19.98 kB / 487.5 MB, free: 14.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.4333, allocations: 145.7 kB / 487.6 MB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.4334, allocations: 19.91 kB / 487.7 MB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/0.434, allocations: 194.8 kB / 487.9 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.434, allocations: 7.938 kB / 487.9 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.434, allocations: 7.984 kB / 487.9 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.434, allocations: 0 / 487.9 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.4359, allocations: 0.6813 MB / 488.6 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4359, allocations: 4 kB / 488.6 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.4363, allocations: 79.88 kB / 488.6 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.4363, allocations: 4.156 kB / 488.6 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.4363, allocations: 12 kB / 488.6 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4363, allocations: 4 kB / 488.7 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4363, allocations: 0 / 488.7 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.438, allocations: 0.7185 MB / 489.4 MB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.4382, allocations: 59.73 kB / 489.4 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.4382, allocations: 4 kB / 489.4 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003684/0.4386, allocations: 19.98 kB / 489.5 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.4386, allocations: 35.83 kB / 489.5 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.4387, allocations: 15.98 kB / 489.5 MB, free: 12.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.065e-05/0.4388, allocations: 106 kB / 489.6 MB, free: 12.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4388, allocations: 4.062 kB / 489.6 MB, free: 12.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002644/0.4414, allocations: 0.9667 MB / 490.6 MB, free: 11.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004463/0.4459, allocations: 1.252 MB / 491.8 MB, free: 9.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.447, allocations: 335 kB / 492.2 MB, free: 9.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.447, allocations: 4 kB / 492.2 MB, free: 9.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.4475, allocations: 172.5 kB / 492.3 MB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007911/0.4483, allocations: 95.83 kB / 492.4 MB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.4498, allocations: 0.6218 MB / 493 MB, free: 8.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.4499, allocations: 137.8 kB / 493.2 MB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003581/0.4503, allocations: 82.23 kB / 493.3 MB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.4504, allocations: 47.39 kB / 493.3 MB, free: 8.27 MB / 398.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4504, allocations: 0 / 493.3 MB, free: 8.27 MB / 398.1 MB Notification: Performance of Templates: time 0.04649/0.4969, allocations: 30.36 MB / 0.5114 GB, free: 9.98 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.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: 6.340254118666053]