Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 111.6 kB / 17.08 MB, free: 6.004 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.001434/0.001435, allocations: 197.3 kB / 18.01 MB, free: 5.086 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.64/1.64, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2043/0.2043, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.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.001423/0.001423, allocations: 75.83 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4096/0.5276, allocations: 152.2 MB / 0.6372 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.5292, allocations: 1.217 MB / 0.6383 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.5293, allocations: 0 / 0.6383 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.5296, allocations: 39.8 kB / 0.6384 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002261/0.532, allocations: 0.8766 MB / 0.6392 GB, free: 260 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.569e-06/0.532, allocations: 0 / 0.6392 GB, free: 260 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.5321, allocations: 47.78 kB / 0.6393 GB, free: 212 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.5321, allocations: 0 / 0.6393 GB, free: 212 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.419e-05/0.5322, allocations: 27.28 kB / 0.6393 GB, free: 188 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.5322, allocations: 15.92 kB / 0.6393 GB, free: 172 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.5322, allocations: 4 kB / 0.6393 GB, free: 168 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.5348, allocations: 1.618 MB / 0.6409 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.5348, allocations: 19.86 kB / 0.6409 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.5349, allocations: 15.94 kB / 0.6409 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.5361, allocations: 0.7709 MB / 0.6417 GB, free: 13.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5361, allocations: 0 / 0.6417 GB, free: 13.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5361, allocations: 0 / 0.6417 GB, free: 13.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.5361, allocations: 0 / 0.6417 GB, free: 13.74 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007262/0.5369, allocations: 467.1 kB / 0.6421 GB, free: 13.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.5369, allocations: 11.89 kB / 0.6422 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.537, allocations: 4.938 kB / 0.6422 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.5371, allocations: 172.3 kB / 0.6423 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.5371, allocations: 7.938 kB / 0.6423 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.5372, allocations: 7.984 kB / 0.6423 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.5374, allocations: 69.62 kB / 0.6424 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5374, allocations: 0 / 0.6424 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5374, allocations: 0 / 0.6424 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.574e-05/0.5375, allocations: 7.984 kB / 0.6424 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.5376, allocations: 51.91 kB / 0.6425 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.5382, allocations: 292.7 kB / 0.6427 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.5384, allocations: 30.58 kB / 0.6428 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.5384, allocations: 16.91 kB / 0.6428 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.5386, allocations: 93.08 kB / 0.6429 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.5387, allocations: 38.56 kB / 0.6429 GB, free: 12.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.5387, allocations: 0 / 0.6429 GB, free: 12.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002565/0.539, allocations: 57.56 kB / 0.643 GB, free: 12.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.539, allocations: 51.41 kB / 0.643 GB, free: 12.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.5392, allocations: 101.9 kB / 0.6431 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.5392, allocations: 29.7 kB / 0.6431 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.5393, allocations: 95.88 kB / 0.6432 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.5393, allocations: 11.09 kB / 0.6432 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.9e-05/0.5394, allocations: 17.72 kB / 0.6433 GB, free: 11.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5396, allocations: 318.8 kB / 0.6436 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.614e-05/0.5396, allocations: 4 kB / 0.6436 GB, free: 11.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.5397, allocations: 39.42 kB / 0.6436 GB, free: 11.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.5398, allocations: 39.38 kB / 0.6436 GB, free: 11.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.5399, allocations: 0.6875 kB / 0.6436 GB, free: 11.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001911/0.5401, allocations: 70.05 kB / 0.6437 GB, free: 11.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.5401, allocations: 8.031 kB / 0.6437 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5401, allocations: 4 kB / 0.6437 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.5402, allocations: 3.938 kB / 0.6437 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.5403, allocations: 11.94 kB / 0.6437 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.5403, allocations: 4 kB / 0.6437 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.442e-05/0.5404, allocations: 12.58 kB / 0.6438 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.5404, allocations: 7.984 kB / 0.6438 GB, free: 11.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001176/0.5406, allocations: 117.8 kB / 0.6439 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.5406, allocations: 0 / 0.6439 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.5409, allocations: 65.06 kB / 0.6439 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.5409, allocations: 4 kB / 0.6439 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5409, allocations: 0 / 0.6439 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/0.5409, allocations: 7.609 kB / 0.6439 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.5412, allocations: 157.7 kB / 0.6441 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5412, allocations: 0 / 0.6441 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.5413, allocations: 4 kB / 0.6441 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5413, allocations: 7.938 kB / 0.6441 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.5413, allocations: 7.938 kB / 0.6441 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5413, allocations: 0 / 0.6441 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5413, allocations: 4 kB / 0.6441 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.5415, allocations: 135.5 kB / 0.6442 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.5416, allocations: 88.89 kB / 0.6443 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.5416, allocations: 7.922 kB / 0.6443 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.5417, allocations: 0 / 0.6443 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.5418, allocations: 8 kB / 0.6443 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.5418, allocations: 4 kB / 0.6444 GB, free: 10.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.602e-05/0.5419, allocations: 79.28 kB / 0.6444 GB, free: 10.58 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5419, allocations: 0 / 0.6444 GB, free: 10.58 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007456/0.5426, allocations: 95.86 kB / 0.6445 GB, free: 10.49 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0009063/0.5436, allocations: 248.6 kB / 0.6448 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.5437, allocations: 27.92 kB / 0.6448 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.5438, allocations: 4.188 kB / 0.6448 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.5438, allocations: 11.98 kB / 0.6448 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.5442, allocations: 6.656 kB / 0.6448 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005011/0.5448, allocations: 162 kB / 0.645 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.5451, allocations: 0.6849 MB / 0.6456 GB, free: 9.289 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.5452, allocations: 11.44 kB / 0.6456 GB, free: 9.277 MB / 494.1 MB Notification: Performance of SimCode: time 4.2e-07/0.5452, allocations: 4 kB / 0.6456 GB, free: 9.273 MB / 494.1 MB Notification: Performance of Templates: time 0.007188/0.5524, allocations: 2.286 MB / 0.6479 GB, free: 6.992 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches