Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.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_cpp_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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001669/0.001669, allocations: 175.4 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0008285/0.0008285, allocations: 87.11 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003076, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2165, allocations: 47.56 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03756/0.2541, allocations: 46.91 MB / 422 MB, free: 1.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005437/0.2596, allocations: 4.857 MB / 426.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/0.2601, allocations: 7.938 kB / 426.8 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007592/0.2608, allocations: 198.9 kB / 427 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000764/0.2616, allocations: 342.2 kB / 427.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0161/0.2777, allocations: 5.315 MB / 432.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001662/0.2794, allocations: 1.333 MB / 434 MB, free: 5.641 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.2797, allocations: 115.2 kB / 434.1 MB, free: 5.523 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009358/0.289, allocations: 6.171 MB / 440.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.2897, allocations: 402.6 kB / 440.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.123e-05/0.2898, allocations: 28 kB / 440.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01741/0.3072, allocations: 9.641 MB / 450.4 MB, free: 5.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.3076, allocations: 187.5 kB / 450.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.308, allocations: 292.7 kB / 450.8 MB, free: 4.793 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007765/0.3158, allocations: 3.742 MB / 454.6 MB, free: 1.043 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.3159, allocations: 0 / 454.6 MB, free: 1.043 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3159, allocations: 4 kB / 454.6 MB, free: 1.039 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.3159, allocations: 0 / 454.6 MB, free: 1.039 MB / 330.7 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.003084/0.319, allocations: 1.24 MB / 455.8 MB, free: 15.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.319, allocations: 12.03 kB / 455.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.3193, allocations: 63.42 kB / 455.9 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.3198, allocations: 365.9 kB / 456.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.3198, allocations: 29 kB / 456.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.021e-05/0.3199, allocations: 44 kB / 456.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.3211, allocations: 0.5765 MB / 456.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3211, allocations: 0 / 456.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.3212, allocations: 23.98 kB / 456.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.3212, allocations: 12 kB / 456.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.3225, allocations: 0.7339 MB / 457.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.3377, allocations: 12.02 MB / 469.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.339, allocations: 0.5276 MB / 470.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.3394, allocations: 254.1 kB / 470.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01379/0.3532, allocations: 11.95 MB / 482.4 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.3533, allocations: 43 kB / 482.5 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.745e-06/0.3533, allocations: 0 / 482.5 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.005861/0.3592, allocations: 2.132 MB / 484.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.3592, allocations: 59.91 kB / 484.7 MB, free: 14.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.3596, allocations: 322.9 kB / 485 MB, free: 14.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.319e-05/0.3597, allocations: 37.7 kB / 485 MB, free: 14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3598, allocations: 196.4 kB / 485.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.3599, allocations: 201.1 kB / 485.4 MB, free: 13.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.36, allocations: 8 kB / 485.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3601, allocations: 346.8 kB / 485.7 MB, free: 13.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.3605, allocations: 237 kB / 486 MB, free: 13.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005826/0.3611, allocations: 347.2 kB / 486.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.3622, allocations: 0.5917 MB / 486.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3622, allocations: 0 / 486.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001713/0.3639, allocations: 0.7517 MB / 487.7 MB, free: 11.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3639, allocations: 15.42 kB / 487.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.3639, allocations: 4.078 kB / 487.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.3644, allocations: 102.8 kB / 487.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.3649, allocations: 123.8 kB / 487.9 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.3674, allocations: 3.275 MB / 491.2 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/0.3678, allocations: 39.97 kB / 491.2 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/0.3679, allocations: 31.98 kB / 491.2 MB, free: 7.363 MB / 378.7 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.0002956/0.3682, allocations: 193.6 kB / 491.4 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.3684, allocations: 51.47 kB / 491.5 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.3699, allocations: 0.815 MB / 492.3 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3699, allocations: 8 kB / 492.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.3699, allocations: 0 / 492.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/0.371, allocations: 0.7673 MB / 493.1 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001994/0.373, allocations: 1.294 MB / 494.4 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3731, allocations: 3.984 kB / 494.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004356/0.3735, allocations: 99.83 kB / 494.5 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008673/0.3744, allocations: 148.7 kB / 494.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.3744, allocations: 19.98 kB / 494.6 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004276/0.3749, allocations: 0.6484 MB / 495.3 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3749, allocations: 0 / 495.3 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/0.3764, allocations: 0.9121 MB / 496.2 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.3766, allocations: 124.7 kB / 496.3 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.3767, allocations: 15.94 kB / 496.3 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.3771, allocations: 35.97 kB / 496.4 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.3772, allocations: 36.39 kB / 496.4 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.3773, allocations: 23.98 kB / 496.4 MB, free: 1.934 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002879/0.3776, allocations: 253.9 kB / 496.7 MB, free: 1.684 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3776, allocations: 0 / 496.7 MB, free: 1.684 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004061/0.3816, allocations: 1.308 MB / 498 MB, free: 384 kB / 378.7 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.006217/0.3879, allocations: 1.691 MB / 499.7 MB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.3894, allocations: 0.8038 MB / 0.4887 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.3894, allocations: 0 / 0.4887 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.39, allocations: 283.2 kB / 0.489 GB, free: 13.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.3913, allocations: 275.7 kB / 0.4893 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3932, allocations: 1.338 MB / 0.4906 GB, free: 11.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3936, allocations: 0.8365 MB / 0.4914 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.3938, allocations: 71.36 kB / 0.4915 GB, free: 10.98 MB / 394.7 MB Notification: Performance of SimCode: time 6.22e-07/0.3938, allocations: 0 / 0.4915 GB, free: 10.98 MB / 394.7 MB Notification: Performance of Templates: time 0.1979/0.5917, allocations: 34.91 MB / 0.5256 GB, free: 112.3 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches