Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001086/0.001086, allocations: 111.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 207.9 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 71.88 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2951, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1574/0.4525, allocations: 153.9 MB / 0.6819 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.4544, allocations: 1.468 MB / 0.6834 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.133e-05/0.4544, allocations: 4 kB / 0.6834 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.4547, allocations: 39.8 kB / 0.6834 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.4577, allocations: 1.073 MB / 0.6845 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.152e-06/0.4577, allocations: 0 / 0.6845 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.4578, allocations: 67.7 kB / 0.6845 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.4579, allocations: 3.938 kB / 0.6845 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.067e-05/0.4579, allocations: 23.92 kB / 0.6846 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.328e-05/0.458, allocations: 35.83 kB / 0.6846 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.458, allocations: 0 / 0.6846 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.461, allocations: 1.873 MB / 0.6864 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.4611, allocations: 7.984 kB / 0.6864 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.4611, allocations: 27.86 kB / 0.6864 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.4627, allocations: 0.92 MB / 0.6873 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.4627, allocations: 3.984 kB / 0.6874 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4627, allocations: 0 / 0.6874 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4627, allocations: 0 / 0.6874 GB, free: 1.703 MB / 0.5294 GB 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.4635, allocations: 0.5029 MB / 0.6878 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.4635, allocations: 8.031 kB / 0.6879 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.4636, allocations: 8.938 kB / 0.6879 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.4637, allocations: 175.4 kB / 0.688 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.4637, allocations: 4 kB / 0.688 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.4638, allocations: 0 / 0.688 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.4639, allocations: 85.61 kB / 0.6881 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4639, allocations: 0 / 0.6881 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.4639, allocations: 0 / 0.6881 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/0.464, allocations: 15.92 kB / 0.6881 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.186e-05/0.4641, allocations: 59.97 kB / 0.6882 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/0.4645, allocations: 312.7 kB / 0.6885 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.178e-05/0.4646, allocations: 46.5 kB / 0.6885 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.4646, allocations: 12.84 kB / 0.6885 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.4649, allocations: 255.4 kB / 0.6888 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.4649, allocations: 42.48 kB / 0.6888 GB, free: 15.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.4649, allocations: 0 / 0.6888 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002009/0.4651, allocations: 69.69 kB / 0.6889 GB, free: 15.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.4652, allocations: 51.41 kB / 0.6889 GB, free: 15.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/0.4653, allocations: 110.1 kB / 0.689 GB, free: 15.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.4653, allocations: 25.7 kB / 0.6891 GB, free: 15.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.4653, allocations: 95.89 kB / 0.6892 GB, free: 15.59 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.4654, allocations: 23.72 kB / 0.6892 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.4654, allocations: 21.72 kB / 0.6892 GB, free: 15.54 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.4655, allocations: 314.8 kB / 0.6895 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-05/0.4655, allocations: 19.98 kB / 0.6895 GB, free: 15.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/0.4656, allocations: 39.42 kB / 0.6896 GB, free: 15.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.4657, allocations: 51.36 kB / 0.6896 GB, free: 15.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4657, allocations: 4 kB / 0.6896 GB, free: 15.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001198/0.4658, allocations: 81.53 kB / 0.6897 GB, free: 15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.4658, allocations: 12.05 kB / 0.6897 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4658, allocations: 3.938 kB / 0.6897 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.4659, allocations: 3.984 kB / 0.6897 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.4659, allocations: 12 kB / 0.6897 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.466, allocations: 3.938 kB / 0.6897 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.466, allocations: 4 kB / 0.6897 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.466, allocations: 7.938 kB / 0.6897 GB, free: 14.96 MB / 0.545 GB 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 7.399e-05/0.4661, allocations: 125.9 kB / 0.6899 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.4661, allocations: 7.844 kB / 0.6899 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.4663, allocations: 73.23 kB / 0.6899 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.4663, allocations: 0 / 0.6899 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4663, allocations: 0 / 0.6899 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.4663, allocations: 81.11 kB / 0.69 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.4664, allocations: 7.984 kB / 0.69 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.4664, allocations: 0 / 0.69 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.4664, allocations: 7.938 kB / 0.69 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00012/0.4666, allocations: 141.4 kB / 0.6902 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001485/0.4667, allocations: 238.7 kB / 0.6904 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.15e-05/0.4668, allocations: 19.92 kB / 0.6904 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.176e-05/0.4668, allocations: 79.28 kB / 0.6905 GB, free: 14.13 MB / 0.545 GB Notification: Performance of Backend: time 5.01e-07/0.4668, allocations: 4 kB / 0.6905 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.4684, allocations: 0.512 MB / 0.691 GB, free: 13.62 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005066/0.4689, allocations: 0.6184 MB / 0.6916 GB, free: 12.95 MB / 0.545 GB Notification: Performance of Templates: time 0.01074/0.4797, allocations: 6.815 MB / 0.6982 GB, free: 6.141 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches