Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001131/0.001131, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 61.81 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08882/0.08996, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.342/0.432, allocations: 154.5 MB / 0.5013 GB, free: 148 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.434, allocations: 1.604 MB / 0.5029 GB, free: 14.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.562e-05/0.4341, allocations: 8 kB / 0.5029 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.4345, allocations: 67.58 kB / 0.503 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.4349, allocations: 161.3 kB / 0.5031 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.4374, allocations: 1.037 MB / 0.5041 GB, free: 13.3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004061/0.4378, allocations: 354.4 kB / 0.5045 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.4379, allocations: 21.34 kB / 0.5045 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.4382, allocations: 167.4 kB / 0.5046 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.4384, allocations: 127.6 kB / 0.5048 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.072e-05/0.4384, allocations: 15.94 kB / 0.5048 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.4411, allocations: 1.622 MB / 0.5064 GB, free: 11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4412, allocations: 67.84 kB / 0.5064 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.4414, allocations: 107.6 kB / 0.5065 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.4429, allocations: 1.027 MB / 0.5075 GB, free: 9.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4429, allocations: 3.938 kB / 0.5075 GB, free: 9.801 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4429, allocations: 0 / 0.5075 GB, free: 9.801 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.4429, allocations: 4 kB / 0.5075 GB, free: 9.797 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001871/0.4448, allocations: 0.6908 MB / 0.5082 GB, free: 9.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.4449, allocations: 12.03 kB / 0.5082 GB, free: 9.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001464/0.445, allocations: 24.73 kB / 0.5083 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.4453, allocations: 223.4 kB / 0.5085 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.4454, allocations: 12.33 kB / 0.5085 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.795e-05/0.4454, allocations: 23.94 kB / 0.5085 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.446, allocations: 265.4 kB / 0.5088 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.446, allocations: 0 / 0.5088 GB, free: 8.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.4461, allocations: 7.844 kB / 0.5088 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.4461, allocations: 11.98 kB / 0.5088 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006126/0.4467, allocations: 264.8 kB / 0.509 GB, free: 8.188 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.4481, allocations: 0.7937 MB / 0.5098 GB, free: 7.312 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.4487, allocations: 221.1 kB / 0.51 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.449, allocations: 145.6 kB / 0.5101 GB, free: 6.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.4493, allocations: 344.4 kB / 0.5105 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.4494, allocations: 42.55 kB / 0.5105 GB, free: 6.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=29): time 2.655e-06/0.4494, allocations: 0 / 0.5105 GB, free: 6.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.0023/0.4517, allocations: 0.6794 MB / 0.5112 GB, free: 5.785 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.4518, allocations: 81.11 kB / 0.5113 GB, free: 5.688 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.4519, allocations: 145.7 kB / 0.5114 GB, free: 5.535 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.4519, allocations: 29.7 kB / 0.5114 GB, free: 5.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.452, allocations: 108.9 kB / 0.5115 GB, free: 5.391 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/0.4521, allocations: 134 kB / 0.5117 GB, free: 5.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.4522, allocations: 73.58 kB / 0.5117 GB, free: 5.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4523, allocations: 330.8 kB / 0.512 GB, free: 4.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.4527, allocations: 135.8 kB / 0.5122 GB, free: 4.715 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.4531, allocations: 207.6 kB / 0.5124 GB, free: 4.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007352/0.4538, allocations: 358.7 kB / 0.5127 GB, free: 4.109 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4538, allocations: 0 / 0.5127 GB, free: 4.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009107/0.4547, allocations: 410.2 kB / 0.5131 GB, free: 3.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4548, allocations: 6.875 kB / 0.5131 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4548, allocations: 8 kB / 0.5131 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4548, allocations: 4 kB / 0.5131 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.4553, allocations: 87.88 kB / 0.5132 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.4553, allocations: 7.938 kB / 0.5132 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.4556, allocations: 23.89 kB / 0.5132 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.4557, allocations: 19.92 kB / 0.5133 GB, free: 3.551 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.4558, allocations: 149.7 kB / 0.5134 GB, free: 3.395 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.4559, allocations: 19.81 kB / 0.5134 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.4563, allocations: 172.1 kB / 0.5136 GB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4563, allocations: 8 kB / 0.5136 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4563, allocations: 0 / 0.5136 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-06/0.4563, allocations: 7.672 kB / 0.5136 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001673/0.458, allocations: 0.7751 MB / 0.5144 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.458, allocations: 4 kB / 0.5144 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.4585, allocations: 79.88 kB / 0.5144 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.4585, allocations: 8.156 kB / 0.5144 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.4585, allocations: 8.844 kB / 0.5144 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.4585, allocations: 11.92 kB / 0.5145 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4585, allocations: 3.938 kB / 0.5145 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.4598, allocations: 0.7072 MB / 0.5152 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.46, allocations: 116.9 kB / 0.5153 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.46, allocations: 11.94 kB / 0.5153 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.4604, allocations: 23.97 kB / 0.5153 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.4604, allocations: 23.97 kB / 0.5153 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.211e-05/0.4605, allocations: 15.98 kB / 0.5153 GB, free: 1.273 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.588e-05/0.4605, allocations: 112.9 kB / 0.5154 GB, free: 1.168 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4606, allocations: 0 / 0.5154 GB, free: 1.168 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005805/0.4611, allocations: 151.9 kB / 0.5156 GB, free: 1.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004783/0.4616, allocations: 246.9 kB / 0.5158 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008619/0.4625, allocations: 343.4 kB / 0.5162 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4625, allocations: 448 / 0.5162 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.4629, allocations: 187.1 kB / 0.5163 GB, free: 260 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.4636, allocations: 105.1 kB / 0.5164 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.4651, allocations: 0.6322 MB / 0.517 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.4654, allocations: 0.7451 MB / 0.5178 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003207/0.4657, allocations: 78.23 kB / 0.5179 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.4659, allocations: 39.42 kB / 0.5179 GB, free: 14.6 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4659, allocations: 0 / 0.5179 GB, free: 14.6 MB / 446.1 MB Notification: Performance of Templates: time 0.01094/0.4768, allocations: 6.304 MB / 0.524 GB, free: 8.34 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches