Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.007067/0.007067, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.094/3.094, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006223/0.0006225, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1384, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.4334/0.5719, allocations: 22.34 MB / 396.9 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01244/0.5844, allocations: 5.298 MB / 402.2 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009169/0.5854, allocations: 8.781 kB / 402.2 MB, free: 8.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.587, allocations: 246.4 kB / 402.4 MB, free: 8.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001852/0.5889, allocations: 318.2 kB / 402.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008835/0.5978, allocations: 1.352 MB / 404.1 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002613/0.6004, allocations: 0.6924 MB / 404.8 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005249/0.601, allocations: 124.1 kB / 404.9 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.6025, allocations: 352.7 kB / 405.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009571/0.6035, allocations: 247.5 kB / 405.5 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001591/0.6037, allocations: 21.72 kB / 405.5 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00385/0.6076, allocations: 0.7535 MB / 406.3 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.608, allocations: 95.5 kB / 406.4 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004284/0.6084, allocations: 125 kB / 406.5 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.6113, allocations: 0.7543 MB / 407.2 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.6113, allocations: 0 / 407.2 MB, free: 6.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6114, allocations: 4.906 kB / 407.2 MB, free: 6.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.6114, allocations: 0 / 407.2 MB, free: 6.273 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002102/0.6135, allocations: 0.6774 MB / 407.9 MB, free: 5.734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.6136, allocations: 12.36 kB / 407.9 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.6149, allocations: 80.22 kB / 408 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000834/0.6158, allocations: 329.2 kB / 408.3 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.555e-05/0.6159, allocations: 33.53 kB / 408.4 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.616, allocations: 37.12 kB / 408.4 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.6175, allocations: 465 kB / 408.9 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.6175, allocations: 8.906 kB / 408.9 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.734e-05/0.6176, allocations: 17.22 kB / 408.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.6177, allocations: 10.81 kB / 408.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.6187, allocations: 303.9 kB / 409.2 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0286/0.6474, allocations: 6.731 MB / 415.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009578/0.6484, allocations: 268.7 kB / 416.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02459/0.673, allocations: 3.878 MB / 420.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/0.6731, allocations: 36.92 kB / 420.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 6.462e-06/0.6731, allocations: 7.984 kB / 420.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.02796/0.7011, allocations: 2.488 MB / 422.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.7013, allocations: 54.28 kB / 422.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/0.702, allocations: 293.8 kB / 422.9 MB, free: 11.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/0.7021, allocations: 36.98 kB / 423 MB, free: 11.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.7025, allocations: 273.8 kB / 423.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.7028, allocations: 169.6 kB / 423.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.7028, allocations: 11.06 kB / 423.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.7031, allocations: 331.9 kB / 423.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/0.7037, allocations: 150.9 kB / 423.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007895/0.7045, allocations: 272.3 kB / 424.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/0.7053, allocations: 196.4 kB / 424.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.7054, allocations: 2.094 kB / 424.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002538/0.7079, allocations: 0.5727 MB / 424.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.708, allocations: 8 kB / 424.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.708, allocations: 4 kB / 424.9 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01663/0.7247, allocations: 0.7678 MB / 425.7 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.7259, allocations: 111.8 kB / 425.8 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004314/0.7302, allocations: 2.467 MB / 428.3 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.7313, allocations: 35.95 kB / 428.3 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.7315, allocations: 27.98 kB / 428.3 MB, free: 6.18 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005549/0.7321, allocations: 185.6 kB / 428.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.7323, allocations: 35.62 kB / 428.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/0.7351, allocations: 0.8552 MB / 429.4 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-05/0.7352, allocations: 7.984 kB / 429.4 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7352, allocations: 0 / 429.4 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002362/0.7376, allocations: 0.9612 MB / 430.4 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/0.7425, allocations: 1.489 MB / 431.9 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.7426, allocations: 0 / 431.9 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000808/0.7434, allocations: 79.89 kB / 431.9 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008224/0.7516, allocations: 0.6297 MB / 432.6 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/0.7518, allocations: 19.98 kB / 432.6 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.7539, allocations: 1.276 MB / 433.9 MB, free: 428 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.754, allocations: 4.125 kB / 433.9 MB, free: 424 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/0.7579, allocations: 1.229 MB / 435.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.7583, allocations: 124.5 kB / 435.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.7585, allocations: 12 kB / 435.2 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000759/0.7593, allocations: 23.94 kB / 435.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.7594, allocations: 31.91 kB / 435.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/0.7595, allocations: 19.98 kB / 435.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005534/0.7601, allocations: 209.9 kB / 435.5 MB, free: 14.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.7602, allocations: 4 kB / 435.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002185/0.7624, allocations: 235.9 kB / 435.7 MB, free: 14.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001694/0.7641, allocations: 287 kB / 436 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.7673, allocations: 0.6873 MB / 436.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.7674, allocations: 0 / 436.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.7697, allocations: 436.6 kB / 437.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/0.7731, allocations: 225 kB / 437.4 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/0.7782, allocations: 1.493 MB / 438.9 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007818/0.779, allocations: 0.8555 MB / 439.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.7794, allocations: 47.42 kB / 439.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of SimCode: time 1.834e-06/0.7794, allocations: 0 / 439.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of Templates: time 0.07792/0.8573, allocations: 12.71 MB / 452.5 MB, free: 13.66 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches