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) 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.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 97.59 kB / 16.99 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001734/0.001734, allocations: 200.9 kB / 17.9 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.2 MB / 245.9 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003072, allocations: 4 kB / 306.6 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2237/0.3506, allocations: 49.88 MB / 407.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006437/0.3571, allocations: 4.364 MB / 412.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000449/0.3575, allocations: 3.156 kB / 412.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009564/0.3585, allocations: 276.5 kB / 412.6 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008557/0.3594, allocations: 342.9 kB / 412.9 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01473/0.3741, allocations: 5.224 MB / 418.1 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.3756, allocations: 0.8345 MB / 419 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.3759, allocations: 158.5 kB / 419.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008554/0.3768, allocations: 0.4947 MB / 419.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004973/0.3773, allocations: 377.4 kB / 420 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.557e-05/0.3774, allocations: 44 kB / 420 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01586/0.3932, allocations: 8.513 MB / 428.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004792/0.3937, allocations: 247.4 kB / 428.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.3942, allocations: 173.4 kB / 429 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00832/0.4025, allocations: 3.699 MB / 432.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.4025, allocations: 0 / 432.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4026, allocations: 0 / 432.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4026, allocations: 0 / 432.7 MB, free: 1.059 MB / 334.1 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.003049/0.4056, allocations: 1.381 MB / 434 MB, free: 15.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.4057, allocations: 8.031 kB / 434 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003786/0.4061, allocations: 87.19 kB / 434.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.4067, allocations: 429 kB / 434.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.4067, allocations: 53.3 kB / 434.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-05/0.4068, allocations: 60 kB / 434.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.4084, allocations: 0.7951 MB / 435.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.4085, allocations: 3.906 kB / 435.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.185e-05/0.4085, allocations: 28 kB / 435.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.4086, allocations: 20.48 kB / 435.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/0.4103, allocations: 1.028 MB / 436.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01683/0.4272, allocations: 12.84 MB / 449.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.4289, allocations: 0.7492 MB / 450.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01387/0.4428, allocations: 12.31 MB / 462.4 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.4429, allocations: 43.22 kB / 462.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.384e-06/0.4429, allocations: 0 / 462.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.009014/0.4519, allocations: 3.42 MB / 465.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.452, allocations: 60.41 kB / 466 MB, free: 11.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/0.4524, allocations: 352.5 kB / 466.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.275e-05/0.4524, allocations: 45.7 kB / 466.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.4526, allocations: 236.6 kB / 466.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.4528, allocations: 307.6 kB / 466.9 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.4529, allocations: 24 kB / 466.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.453, allocations: 358.8 kB / 467.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/0.4535, allocations: 365.8 kB / 467.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.4544, allocations: 488.2 kB / 468.1 MB, free: 8.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008263/0.4552, allocations: 438.9 kB / 468.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4552, allocations: 0 / 468.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002349/0.4576, allocations: 1.113 MB / 469.6 MB, free: 7.266 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.4576, allocations: 4 kB / 469.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.4576, allocations: 4 kB / 469.6 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007953/0.4584, allocations: 167.5 kB / 469.8 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/0.4592, allocations: 187.8 kB / 470 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/0.462, allocations: 3.927 MB / 473.9 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005259/0.4625, allocations: 64.19 kB / 474 MB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/0.4626, allocations: 47.94 kB / 474 MB, free: 2.551 MB / 382.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003286/0.4629, allocations: 229.6 kB / 474.2 MB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003433/0.4633, allocations: 63.34 kB / 474.3 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.4656, allocations: 1.288 MB / 475.6 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.4656, allocations: 8 kB / 475.6 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.4657, allocations: 0 / 475.6 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00169/0.4674, allocations: 1.328 MB / 476.9 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/0.4706, allocations: 1.975 MB / 478.9 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4707, allocations: 0 / 478.9 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006769/0.4713, allocations: 163.7 kB / 479.1 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/0.4731, allocations: 305.2 kB / 479.4 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.4732, allocations: 27.98 kB / 479.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007569/0.4739, allocations: 1.289 MB / 480.7 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4739, allocations: 7.984 kB / 480.7 MB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002403/0.4763, allocations: 1.432 MB / 482.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.4766, allocations: 140.5 kB / 482.3 MB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.4767, allocations: 27.97 kB / 482.3 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.4773, allocations: 55.81 kB / 482.3 MB, free: 9.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/0.4774, allocations: 56.92 kB / 482.4 MB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.286e-05/0.4775, allocations: 47.95 kB / 482.4 MB, free: 9.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000365/0.4778, allocations: 271 kB / 482.7 MB, free: 9.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4779, allocations: 0 / 482.7 MB, free: 9.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003912/0.4818, allocations: 1.402 MB / 484.1 MB, free: 8.109 MB / 398.1 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004848/0.4866, allocations: 1.599 MB / 485.7 MB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.4887, allocations: 1.16 MB / 486.9 MB, free: 5.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4887, allocations: 4 kB / 486.9 MB, free: 5.305 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008573/0.4896, allocations: 487.5 kB / 487.3 MB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.4914, allocations: 361.8 kB / 487.7 MB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002666/0.494, allocations: 1.983 MB / 489.7 MB, free: 2.473 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.4945, allocations: 0.9245 MB / 490.6 MB, free: 1.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006976/0.4952, allocations: 205 kB / 490.8 MB, free: 1.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.4954, allocations: 79.41 kB / 490.9 MB, free: 1.242 MB / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4954, allocations: 0 / 490.9 MB, free: 1.242 MB / 398.1 MB Notification: Performance of Templates: time 0.06678/0.5622, allocations: 49.08 MB / 0.5273 GB, free: 220 kB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches