Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009782, allocations: 96.33 kB / 16.93 MB, free: 5.984 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.001094/0.001094, allocations: 177.5 kB / 17.82 MB, free: 5.652 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.292/1.292, 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.000625/0.0006251, allocations: 8.781 kB / 280.7 MB, free: 3.766 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08056/0.08119, allocations: 47.59 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03952/0.1208, allocations: 39.25 MB / 367.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004529/0.1253, allocations: 4.114 MB / 371.7 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.1256, allocations: 4 kB / 371.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.1262, allocations: 195.1 kB / 371.9 MB, free: 8.445 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005004/0.1267, allocations: 239.4 kB / 372.1 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01339/0.1401, allocations: 4.754 MB / 376.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009929/0.1411, allocations: 0.5897 MB / 377.5 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.1414, allocations: 113.5 kB / 377.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1568/0.2982, allocations: 5.933 MB / 383.5 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.2986, allocations: 267.1 kB / 383.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.933e-05/0.2987, allocations: 25.06 kB / 383.8 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01514/0.3139, allocations: 8.356 MB / 392.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004121/0.3143, allocations: 181.5 kB / 392.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.3147, allocations: 129 kB / 392.4 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007665/0.3223, allocations: 3.413 MB / 395.9 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3224, allocations: 0 / 395.9 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3224, allocations: 0 / 395.9 MB, free: 14.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.3224, allocations: 0 / 395.9 MB, free: 14.84 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00282/0.3252, allocations: 1.216 MB / 397.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3253, allocations: 9.562 kB / 397.1 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003159/0.3256, allocations: 60.31 kB / 397.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.326, allocations: 345.9 kB / 397.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.3261, allocations: 32.19 kB / 397.5 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.113e-05/0.3261, allocations: 49.59 kB / 397.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.3272, allocations: 0.5785 MB / 398.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3272, allocations: 4 kB / 398.1 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.3273, allocations: 20.16 kB / 398.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3273, allocations: 13.8 kB / 398.2 MB, free: 13.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3284, allocations: 0.7455 MB / 398.9 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/0.3408, allocations: 12.01 MB / 410.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.3419, allocations: 0.5345 MB / 411.5 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01389/0.3558, allocations: 11.95 MB / 423.4 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.086e-05/0.3559, allocations: 50.89 kB / 423.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 3.797e-06/0.356, allocations: 0 / 423.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.005729/0.3617, allocations: 2.121 MB / 425.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.3618, allocations: 62.42 kB / 425.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.3621, allocations: 315.2 kB / 425.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.3622, allocations: 39.45 kB / 426 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3623, allocations: 195.8 kB / 426.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.3625, allocations: 189.7 kB / 426.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.3625, allocations: 13.12 kB / 426.4 MB, free: 3.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3626, allocations: 350.9 kB / 426.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.363, allocations: 244.3 kB / 427 MB, free: 2.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005887/0.3636, allocations: 329.9 kB / 427.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/0.3642, allocations: 285.8 kB / 427.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3642, allocations: 4 kB / 427.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001738/0.3659, allocations: 0.7484 MB / 428.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.366, allocations: 7.562 kB / 428.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.366, allocations: 4 kB / 428.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004866/0.3665, allocations: 104.9 kB / 428.4 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.367, allocations: 121.7 kB / 428.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.3694, allocations: 3.297 MB / 431.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.3698, allocations: 36.7 kB / 431.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.058e-05/0.3699, allocations: 33.8 kB / 431.9 MB, free: 14.14 MB / 350.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 (linear and non-linear blocks): 1 * 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: 1 {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.0002833/0.3702, allocations: 201 kB / 432.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002649/0.3705, allocations: 39.62 kB / 432.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/0.3719, allocations: 0.8183 MB / 433 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.372, allocations: 8 kB / 433 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.372, allocations: 0 / 433 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/0.373, allocations: 0.763 MB / 433.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002018/0.375, allocations: 1.308 MB / 435 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3751, allocations: 4.062 kB / 435 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/0.3755, allocations: 95.08 kB / 435.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009641/0.3765, allocations: 151 kB / 435.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.385e-05/0.3765, allocations: 20.73 kB / 435.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004118/0.377, allocations: 0.6457 MB / 435.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.377, allocations: 1.969 kB / 436 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.3786, allocations: 0.9298 MB / 436.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.3787, allocations: 127.4 kB / 437 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/0.3788, allocations: 10.5 kB / 437 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.3792, allocations: 41.31 kB / 437.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.3793, allocations: 40.05 kB / 437.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.86e-05/0.3794, allocations: 23.23 kB / 437.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.3796, allocations: 254.3 kB / 437.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3797, allocations: 0 / 437.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003961/0.3836, allocations: 1.299 MB / 438.7 MB, free: 8.453 MB / 350.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 (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005174/0.3888, allocations: 1.579 MB / 440.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.3903, allocations: 0.8102 MB / 441.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3903, allocations: 0 / 441.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.3909, allocations: 290.3 kB / 441.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.3922, allocations: 261 kB / 441.6 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.3941, allocations: 1.3 MB / 442.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.3945, allocations: 0.85 MB / 443.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005262/0.395, allocations: 136.4 kB / 443.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3952, allocations: 54.55 kB / 443.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3952, allocations: 0 / 443.9 MB, free: 3.746 MB / 350.1 MB Notification: Performance of Templates: time 0.06065/0.4558, allocations: 45.86 MB / 489.8 MB, free: 5.992 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches