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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008524/0.0008523, allocations: 93.52 kB / 16.95 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008776/0.0008773, allocations: 183.1 kB / 17.84 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 12 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08131/0.08178, allocations: 47.57 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2336/0.3154, allocations: 60.66 MB / 389 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006693/0.3222, allocations: 5.109 MB / 394.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007923/0.323, allocations: 7.094 kB / 394.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009418/0.324, allocations: 233.2 kB / 394.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.3251, allocations: 0.4896 MB / 394.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01421/0.3393, allocations: 5.182 MB / 400 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002113/0.3414, allocations: 1.915 MB / 401.9 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.3417, allocations: 155.9 kB / 402.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.3428, allocations: 0.53 MB / 402.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009755/0.3438, allocations: 0.5504 MB / 403.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.3439, allocations: 38.33 kB / 403.2 MB, free: 11.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01419/0.3581, allocations: 8.519 MB / 411.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003936/0.3586, allocations: 268.1 kB / 412 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.3589, allocations: 172.6 kB / 412.2 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006253/0.3652, allocations: 3.834 MB / 416 MB, free: 7.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3652, allocations: 0 / 416 MB, free: 7.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3652, allocations: 0 / 416 MB, free: 7.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.3652, allocations: 0 / 416 MB, free: 7.492 MB / 318.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.003318/0.3685, allocations: 1.405 MB / 417.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3686, allocations: 8.953 kB / 417.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/0.369, allocations: 88.64 kB / 417.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.3695, allocations: 434.2 kB / 417.9 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.3695, allocations: 53.45 kB / 418 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/0.3696, allocations: 59.75 kB / 418 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.3711, allocations: 0.7975 MB / 418.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.3711, allocations: 9.984 kB / 418.8 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.388e-05/0.3712, allocations: 32.75 kB / 418.9 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3712, allocations: 12.81 kB / 418.9 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.3727, allocations: 1.023 MB / 419.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.387, allocations: 12.82 MB / 432.7 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.3887, allocations: 0.7528 MB / 433.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.3892, allocations: 404.1 kB / 433.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.014/0.4032, allocations: 12.3 MB / 446.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.552e-05/0.4033, allocations: 47.2 kB / 446.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 4.118e-06/0.4033, allocations: 0 / 446.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.008927/0.4123, allocations: 3.424 MB / 449.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.4123, allocations: 60.41 kB / 449.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003747/0.4127, allocations: 351 kB / 450 MB, free: 5.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.4128, allocations: 45.95 kB / 450.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.4129, allocations: 242.2 kB / 450.3 MB, free: 4.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.4132, allocations: 310.6 kB / 450.6 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.4132, allocations: 14.62 kB / 450.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4134, allocations: 368.7 kB / 451 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005447/0.4139, allocations: 369.6 kB / 451.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008249/0.4148, allocations: 489.7 kB / 451.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000857/0.4156, allocations: 440.4 kB / 452.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4156, allocations: 3.938 kB / 452.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002458/0.4181, allocations: 1.11 MB / 453.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.4181, allocations: 4 kB / 453.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4181, allocations: 4 kB / 453.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007782/0.4189, allocations: 174 kB / 453.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007316/0.4197, allocations: 191.7 kB / 453.7 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.4224, allocations: 3.904 MB / 457.6 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/0.4229, allocations: 67.89 kB / 457.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.97e-05/0.423, allocations: 43.98 kB / 457.8 MB, free: 13.55 MB / 366.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.0003538/0.4234, allocations: 230.4 kB / 458 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/0.4237, allocations: 63.34 kB / 458 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.4261, allocations: 1.292 MB / 459.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.4261, allocations: 8 kB / 459.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4261, allocations: 4 kB / 459.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001752/0.4279, allocations: 1.324 MB / 460.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.431, allocations: 1.961 MB / 462.6 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.4311, allocations: 0 / 462.6 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006884/0.4318, allocations: 167.9 kB / 462.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/0.4335, allocations: 297.1 kB / 463.1 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/0.4336, allocations: 27.98 kB / 463.1 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007766/0.4344, allocations: 1.293 MB / 464.4 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4344, allocations: 0 / 464.4 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.4369, allocations: 1.425 MB / 465.8 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.4371, allocations: 136.5 kB / 466 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.433e-05/0.4372, allocations: 20 kB / 466 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005517/0.4377, allocations: 55.86 kB / 466 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.4378, allocations: 52.92 kB / 466.1 MB, free: 4.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.481e-05/0.4379, allocations: 43.97 kB / 466.1 MB, free: 4.859 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003021/0.4382, allocations: 275 kB / 466.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4383, allocations: 0 / 466.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00389/0.4421, allocations: 1.39 MB / 467.8 MB, free: 3.203 MB / 366.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.005122/0.4473, allocations: 1.604 MB / 469.4 MB, free: 1.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002151/0.4495, allocations: 1.15 MB / 470.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.4495, allocations: 4 kB / 470.5 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008662/0.4503, allocations: 491.1 kB / 471 MB, free: 64 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.4521, allocations: 378.5 kB / 471.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.4548, allocations: 1.979 MB / 473.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.4553, allocations: 0.9166 MB / 474.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007447/0.4561, allocations: 209.2 kB / 474.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/0.4563, allocations: 79.41 kB / 474.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4563, allocations: 0 / 474.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of Templates: time 0.0695/0.5258, allocations: 50.21 MB / 0.5125 GB, free: 10.19 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches