Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009473/0.0009473, allocations: 96.95 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 204.1 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.7 MB / 247.5 MB, free: 9.668 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002604/0.0002604, allocations: 8.281 kB / 308.4 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09467, allocations: 51.54 MB / 359.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2323/0.327, allocations: 51.22 MB / 411.1 MB, free: 5.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006671/0.3337, allocations: 5.208 MB / 416.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006763/0.3344, allocations: 2.719 kB / 416.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009217/0.3354, allocations: 219.6 kB / 416.6 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000944/0.3363, allocations: 354.7 kB / 416.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01805/0.3544, allocations: 5.972 MB / 422.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001791/0.3562, allocations: 1.602 MB / 424.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.3565, allocations: 114.6 kB / 424.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006769/0.3632, allocations: 3.651 MB / 428.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.3639, allocations: 410.5 kB / 428.6 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.689e-05/0.3639, allocations: 24 kB / 428.7 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01787/0.3818, allocations: 10.07 MB / 438.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003148/0.3822, allocations: 187.4 kB / 438.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.3827, allocations: 304.6 kB / 439.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007785/0.3905, allocations: 3.777 MB / 443 MB, free: 8.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.3905, allocations: 4 kB / 443 MB, free: 8.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.3905, allocations: 0 / 443 MB, free: 8.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.268e-05/0.3905, allocations: 0 / 443 MB, free: 8.285 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003425/0.394, allocations: 1.253 MB / 444.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.394, allocations: 8.031 kB / 444.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004088/0.3944, allocations: 59.44 kB / 444.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.395, allocations: 354 kB / 444.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.395, allocations: 40.98 kB / 444.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/0.3951, allocations: 40 kB / 444.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.3965, allocations: 0.5842 MB / 445.3 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.3965, allocations: 4 kB / 445.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.98e-05/0.3966, allocations: 24 kB / 445.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.3966, allocations: 8 kB / 445.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.398, allocations: 0.7456 MB / 446.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/0.4152, allocations: 12.01 MB / 458.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.4167, allocations: 0.5389 MB / 458.7 MB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000405/0.4171, allocations: 262.2 kB / 458.9 MB, free: 6.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01526/0.4324, allocations: 11.95 MB / 470.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.412e-05/0.4325, allocations: 43 kB / 470.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.925e-06/0.4325, allocations: 0 / 470.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.006414/0.4389, allocations: 2.143 MB / 473.1 MB, free: 5.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.439, allocations: 59.97 kB / 473.1 MB, free: 5.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.4394, allocations: 311 kB / 473.4 MB, free: 5.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.578e-05/0.4395, allocations: 37.7 kB / 473.4 MB, free: 5.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.4396, allocations: 204.3 kB / 473.6 MB, free: 5.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.4398, allocations: 193.2 kB / 473.8 MB, free: 4.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.4399, allocations: 49.69 kB / 473.9 MB, free: 4.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.44, allocations: 350.8 kB / 474.2 MB, free: 4.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.4405, allocations: 241 kB / 474.5 MB, free: 4.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/0.4411, allocations: 335.3 kB / 474.8 MB, free: 3.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.4423, allocations: 0.6034 MB / 475.4 MB, free: 3.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4423, allocations: 0 / 475.4 MB, free: 3.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001926/0.4443, allocations: 0.7478 MB / 476.1 MB, free: 2.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4443, allocations: 8 kB / 476.2 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.4443, allocations: 8.219 kB / 476.2 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005345/0.4449, allocations: 110.5 kB / 476.3 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.4454, allocations: 127.8 kB / 476.4 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.448, allocations: 3.272 MB / 479.7 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004396/0.4485, allocations: 40.11 kB / 479.7 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.848e-05/0.4486, allocations: 27.98 kB / 479.7 MB, free: 14.54 MB / 398.1 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0003279/0.4489, allocations: 193.6 kB / 479.9 MB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003158/0.4492, allocations: 43.53 kB / 480 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.4509, allocations: 0.8267 MB / 480.8 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4509, allocations: 4 kB / 480.8 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4509, allocations: 0 / 480.8 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/0.4521, allocations: 0.7674 MB / 481.6 MB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.4543, allocations: 1.301 MB / 482.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4543, allocations: 0 / 482.9 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.4548, allocations: 95.89 kB / 483 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009497/0.4558, allocations: 152.7 kB / 483.1 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.4558, allocations: 19.98 kB / 483.1 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004111/0.4562, allocations: 0.6522 MB / 483.8 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4563, allocations: 4.031 kB / 483.8 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.458, allocations: 0.8965 MB / 484.7 MB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.4582, allocations: 124.8 kB / 484.8 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4583, allocations: 20 kB / 484.8 MB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.4589, allocations: 35.78 kB / 484.9 MB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.4589, allocations: 36.39 kB / 484.9 MB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.021e-05/0.459, allocations: 31.97 kB / 484.9 MB, free: 9.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003119/0.4593, allocations: 257.9 kB / 485.2 MB, free: 8.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4594, allocations: 0 / 485.2 MB, free: 8.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003853/0.4632, allocations: 1.323 MB / 486.5 MB, free: 7.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006477/0.4697, allocations: 1.693 MB / 488.2 MB, free: 5.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.4715, allocations: 0.7997 MB / 489 MB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.4716, allocations: 0.5625 kB / 489 MB, free: 4.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000622/0.4722, allocations: 295.2 kB / 489.3 MB, free: 4.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.4739, allocations: 264.8 kB / 489.5 MB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.4761, allocations: 1.389 MB / 490.9 MB, free: 3.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.4766, allocations: 0.8367 MB / 491.8 MB, free: 2.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.4768, allocations: 63.41 kB / 491.8 MB, free: 2.09 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4768, allocations: 4 kB / 491.8 MB, free: 2.086 MB / 398.1 MB Notification: Performance of Templates: time 0.04917/0.526, allocations: 34 MB / 0.5135 GB, free: 80 kB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches