Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001636/0.001636, allocations: 115 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.4 MB / 246.5 MB, free: 9.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2228/0.2228, allocations: 46.11 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 78.48 kB / 417.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1229, allocations: 62.47 MB / 479.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3826/0.5055, allocations: 151.8 MB / 0.6166 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.5075, allocations: 1.463 MB / 0.618 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.5075, allocations: 0 / 0.618 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.5079, allocations: 51.8 kB / 0.618 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002475/0.5103, allocations: 0.9636 MB / 0.619 GB, free: 9.391 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.378e-06/0.5104, allocations: 7.938 kB / 0.619 GB, free: 9.383 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.5105, allocations: 63.64 kB / 0.619 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.5105, allocations: 11.98 kB / 0.6191 GB, free: 9.309 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.5106, allocations: 19.88 kB / 0.6191 GB, free: 9.289 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.843e-05/0.5106, allocations: 35.89 kB / 0.6191 GB, free: 9.254 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-06/0.5107, allocations: 0 / 0.6191 GB, free: 9.254 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.5137, allocations: 1.903 MB / 0.621 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.5137, allocations: 7.984 kB / 0.621 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.5138, allocations: 27.88 kB / 0.621 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.5152, allocations: 0.9667 MB / 0.6219 GB, free: 6.344 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.5153, allocations: 4 kB / 0.622 GB, free: 6.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5153, allocations: 0 / 0.622 GB, free: 6.34 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.5153, allocations: 0 / 0.622 GB, free: 6.34 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007672/0.5161, allocations: 0.4965 MB / 0.6224 GB, free: 5.797 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.5161, allocations: 8.031 kB / 0.6224 GB, free: 5.789 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.5161, allocations: 4.938 kB / 0.6224 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.5163, allocations: 175.8 kB / 0.6226 GB, free: 5.574 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5163, allocations: 8 kB / 0.6226 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/0.5163, allocations: 0 / 0.6226 GB, free: 5.566 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.5165, allocations: 85.66 kB / 0.6227 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5165, allocations: 0 / 0.6227 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.5165, allocations: 0 / 0.6227 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/0.5166, allocations: 15.97 kB / 0.6227 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.5167, allocations: 67.84 kB / 0.6228 GB, free: 5.395 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.5172, allocations: 316.6 kB / 0.6231 GB, free: 5.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.197e-05/0.5173, allocations: 42.33 kB / 0.6231 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.5173, allocations: 12.84 kB / 0.6231 GB, free: 4.973 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.5176, allocations: 255.4 kB / 0.6234 GB, free: 4.668 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.5176, allocations: 42.48 kB / 0.6234 GB, free: 4.617 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.5176, allocations: 0 / 0.6234 GB, free: 4.617 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002132/0.5179, allocations: 73.61 kB / 0.6235 GB, free: 4.539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.5179, allocations: 55.41 kB / 0.6235 GB, free: 4.473 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.518, allocations: 105.8 kB / 0.6236 GB, free: 4.359 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.5181, allocations: 25.7 kB / 0.6237 GB, free: 4.328 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.5181, allocations: 95.89 kB / 0.6238 GB, free: 4.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.5182, allocations: 15.8 kB / 0.6238 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.5182, allocations: 21.72 kB / 0.6238 GB, free: 4.188 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.5184, allocations: 314.8 kB / 0.6241 GB, free: 3.871 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.223e-05/0.5185, allocations: 12 kB / 0.6241 GB, free: 3.859 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.793e-05/0.5185, allocations: 47.36 kB / 0.6242 GB, free: 3.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.412e-05/0.5186, allocations: 55.36 kB / 0.6242 GB, free: 3.734 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5186, allocations: 0 / 0.6242 GB, free: 3.734 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001489/0.5188, allocations: 85.44 kB / 0.6243 GB, free: 3.648 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5188, allocations: 11.94 kB / 0.6243 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.5188, allocations: 3.984 kB / 0.6243 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5189, allocations: 0 / 0.6243 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.5189, allocations: 12 kB / 0.6243 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5189, allocations: 0 / 0.6243 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.434e-05/0.519, allocations: 7.938 kB / 0.6243 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.519, allocations: 4 kB / 0.6243 GB, free: 3.609 MB / 462.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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 9.417e-05/0.5191, allocations: 121.8 kB / 0.6244 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.5191, allocations: 12.02 kB / 0.6245 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.5193, allocations: 77.17 kB / 0.6245 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.5194, allocations: 4 kB / 0.6245 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5194, allocations: 0 / 0.6245 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.5194, allocations: 3.938 kB / 0.6245 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.5197, allocations: 165.7 kB / 0.6247 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5197, allocations: 0 / 0.6247 GB, free: 3.172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.5197, allocations: 15.98 kB / 0.6247 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5197, allocations: 7.875 kB / 0.6247 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.5197, allocations: 4 kB / 0.6247 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5197, allocations: 0 / 0.6247 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5197, allocations: 0 / 0.6247 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.5199, allocations: 147.5 kB / 0.6249 GB, free: 2.984 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.52, allocations: 85 kB / 0.6249 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.52, allocations: 10.19 kB / 0.625 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.5201, allocations: 11.94 kB / 0.625 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.5201, allocations: 0 / 0.625 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.5201, allocations: 4 kB / 0.625 GB, free: 2.859 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.5201, allocations: 83.27 kB / 0.625 GB, free: 2.777 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5201, allocations: 0 / 0.625 GB, free: 2.777 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000527/0.5207, allocations: 143.9 kB / 0.6252 GB, free: 2.637 MB / 462.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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0008819/0.5216, allocations: 349.1 kB / 0.6255 GB, free: 2.301 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.5217, allocations: 39.92 kB / 0.6256 GB, free: 2.262 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5217, allocations: 0 / 0.6256 GB, free: 2.262 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.5218, allocations: 27.3 kB / 0.6256 GB, free: 2.238 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.5221, allocations: 11.22 kB / 0.6256 GB, free: 2.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.5225, allocations: 185.5 kB / 0.6258 GB, free: 2.023 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.5229, allocations: 0.6851 MB / 0.6264 GB, free: 1.312 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 9.225e-05/0.523, allocations: 22.39 kB / 0.6265 GB, free: 1.293 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.523, allocations: 15.44 kB / 0.6265 GB, free: 1.277 MB / 462.1 MB Notification: Performance of SimCode: time 2.7e-07/0.523, allocations: 3.938 kB / 0.6265 GB, free: 1.273 MB / 462.1 MB Notification: Performance of Templates: time 0.007883/0.5309, allocations: 3.661 MB / 0.6301 GB, free: 13.61 MB / 478.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches