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.001716/0.001716, allocations: 117.6 kB / 17.09 MB, free: 5.938 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.002101/0.0021, allocations: 198.9 kB / 18.02 MB, free: 5.027 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.423/1.423, allocations: 205.1 MB / 223.9 MB, free: 12.19 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.2028/0.2028, allocations: 43.53 MB / 314.8 MB, free: 440 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.001526/0.001526, allocations: 65.47 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1243, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4129/0.5372, allocations: 152.2 MB / 0.6372 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.5389, allocations: 1.217 MB / 0.6384 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.383e-05/0.539, allocations: 0 / 0.6384 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.5393, allocations: 35.86 kB / 0.6384 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00239/0.5418, allocations: 0.8766 MB / 0.6392 GB, free: 232 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.362e-06/0.5418, allocations: 0 / 0.6392 GB, free: 232 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.5419, allocations: 51.72 kB / 0.6393 GB, free: 180 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/0.542, allocations: 3.984 kB / 0.6393 GB, free: 176 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.542, allocations: 19.92 kB / 0.6393 GB, free: 156 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/0.5421, allocations: 15.97 kB / 0.6393 GB, free: 140 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.5421, allocations: 0 / 0.6393 GB, free: 140 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.5449, allocations: 1.622 MB / 0.6409 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.545, allocations: 11.92 kB / 0.6409 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.545, allocations: 15.94 kB / 0.6409 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.5466, allocations: 0.7787 MB / 0.6417 GB, free: 13.71 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5466, allocations: 0 / 0.6417 GB, free: 13.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5466, allocations: 3.938 kB / 0.6417 GB, free: 13.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.5467, allocations: 0 / 0.6417 GB, free: 13.7 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.0007591/0.5474, allocations: 465.7 kB / 0.6421 GB, free: 13.2 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5475, allocations: 11.89 kB / 0.6422 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.5475, allocations: 0.9375 kB / 0.6422 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.5476, allocations: 176.2 kB / 0.6423 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.5477, allocations: 7.938 kB / 0.6423 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.5477, allocations: 4 kB / 0.6423 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.5478, allocations: 69.67 kB / 0.6424 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.5479, allocations: 0 / 0.6424 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5479, allocations: 7.922 kB / 0.6424 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.824e-05/0.5479, allocations: 7.984 kB / 0.6424 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.548, allocations: 51.91 kB / 0.6425 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.5484, allocations: 292.8 kB / 0.6427 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.511e-05/0.5485, allocations: 34.61 kB / 0.6428 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.5485, allocations: 12.91 kB / 0.6428 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.5487, allocations: 93.09 kB / 0.6429 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5487, allocations: 30.56 kB / 0.6429 GB, free: 12.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.5487, allocations: 4 kB / 0.6429 GB, free: 12.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001648/0.5489, allocations: 53.53 kB / 0.643 GB, free: 12.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.5489, allocations: 55.41 kB / 0.643 GB, free: 12.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.647e-05/0.549, allocations: 97.86 kB / 0.6431 GB, free: 12.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.549, allocations: 25.7 kB / 0.6431 GB, free: 12.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.5491, allocations: 99.88 kB / 0.6432 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.5491, allocations: 11.89 kB / 0.6432 GB, free: 11.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.5491, allocations: 25.41 kB / 0.6433 GB, free: 11.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5492, allocations: 318.8 kB / 0.6436 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.987e-05/0.5493, allocations: 4 kB / 0.6436 GB, free: 11.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.643e-05/0.5493, allocations: 39.42 kB / 0.6436 GB, free: 11.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.559e-05/0.5494, allocations: 43.38 kB / 0.6437 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5494, allocations: 0 / 0.6437 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001025/0.5495, allocations: 69.67 kB / 0.6437 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.5495, allocations: 4 kB / 0.6437 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5495, allocations: 0 / 0.6437 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5495, allocations: 7.938 kB / 0.6437 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.5496, allocations: 12 kB / 0.6437 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.5497, allocations: 3.938 kB / 0.6437 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.5497, allocations: 11.84 kB / 0.6438 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.5497, allocations: 8.688 kB / 0.6438 GB, free: 11.33 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 7.713e-05/0.5498, allocations: 113.8 kB / 0.6439 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.5498, allocations: 4.031 kB / 0.6439 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.55, allocations: 59 kB / 0.6439 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.55, allocations: 7.188 kB / 0.6439 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.55, allocations: 3.984 kB / 0.6439 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.55, allocations: 480 / 0.6439 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.5502, allocations: 157.7 kB / 0.6441 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5502, allocations: 3.938 kB / 0.6441 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.5502, allocations: 11.94 kB / 0.6441 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5502, allocations: 4 kB / 0.6441 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.5502, allocations: 3.938 kB / 0.6441 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.5502, allocations: 0 / 0.6441 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.5502, allocations: 0 / 0.6441 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.5504, allocations: 143.5 kB / 0.6443 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.5504, allocations: 85 kB / 0.6443 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.5504, allocations: 3.938 kB / 0.6443 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.5505, allocations: 0 / 0.6443 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.5505, allocations: 12 kB / 0.6444 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.5505, allocations: 0 / 0.6444 GB, free: 10.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.798e-05/0.5506, allocations: 79.28 kB / 0.6444 GB, free: 10.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5506, allocations: 0 / 0.6444 GB, free: 10.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.551, allocations: 103.8 kB / 0.6445 GB, free: 10.45 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.0006195/0.5516, allocations: 247 kB / 0.6448 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.5518, allocations: 20 kB / 0.6448 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5518, allocations: 4.188 kB / 0.6448 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.5518, allocations: 15.92 kB / 0.6448 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.5521, allocations: 6.656 kB / 0.6448 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.5525, allocations: 166 kB / 0.645 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.5528, allocations: 0.6777 MB / 0.6456 GB, free: 9.262 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.1e-05/0.5528, allocations: 15.44 kB / 0.6456 GB, free: 9.246 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5528, allocations: 7.938 kB / 0.6457 GB, free: 9.238 MB / 494.1 MB Notification: Performance of Templates: time 0.004599/0.5574, allocations: 2.285 MB / 0.6479 GB, free: 6.957 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