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.001676/0.001676, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002302/0.002302, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2013/0.2013, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 75.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3077, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1552/0.4629, allocations: 153.9 MB / 0.6819 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001803/0.4648, allocations: 1.468 MB / 0.6834 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.4648, allocations: 0 / 0.6834 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.4652, allocations: 43.8 kB / 0.6834 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.4681, allocations: 1.069 MB / 0.6844 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.612e-06/0.4681, allocations: 0 / 0.6844 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.4682, allocations: 67.64 kB / 0.6845 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.4683, allocations: 4 kB / 0.6845 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.049e-05/0.4683, allocations: 23.86 kB / 0.6845 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.4684, allocations: 39.89 kB / 0.6846 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.4684, allocations: 0 / 0.6846 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.4715, allocations: 1.866 MB / 0.6864 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.4716, allocations: 15.92 kB / 0.6864 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.4716, allocations: 23.86 kB / 0.6864 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.4732, allocations: 0.9201 MB / 0.6873 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.4732, allocations: 0 / 0.6873 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4732, allocations: 0 / 0.6873 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.4732, allocations: 0 / 0.6873 GB, free: 1.719 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.0007256/0.474, allocations: 0.503 MB / 0.6878 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.474, allocations: 12.03 kB / 0.6878 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.4741, allocations: 8.859 kB / 0.6878 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.4742, allocations: 175.4 kB / 0.688 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.4742, allocations: 3.938 kB / 0.688 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.4742, allocations: 4 kB / 0.688 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.4744, allocations: 85.61 kB / 0.6881 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.4744, allocations: 0 / 0.6881 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.4744, allocations: 4 kB / 0.6881 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.742e-05/0.4744, allocations: 11.98 kB / 0.6881 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.787e-05/0.4745, allocations: 59.97 kB / 0.6882 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.475, allocations: 316.6 kB / 0.6885 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.271e-05/0.4751, allocations: 38.56 kB / 0.6885 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.4751, allocations: 20.97 kB / 0.6885 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.4754, allocations: 255.3 kB / 0.6888 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.4754, allocations: 42.5 kB / 0.6888 GB, free: 15.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.4754, allocations: 0 / 0.6888 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002027/0.4756, allocations: 65.62 kB / 0.6889 GB, free: 15.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.4757, allocations: 55.41 kB / 0.6889 GB, free: 15.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.449e-05/0.4758, allocations: 105.8 kB / 0.689 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.4758, allocations: 25.7 kB / 0.6891 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.4759, allocations: 95.88 kB / 0.6892 GB, free: 15.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.4759, allocations: 23.73 kB / 0.6892 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.4759, allocations: 25.72 kB / 0.6892 GB, free: 15.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.476, allocations: 318.8 kB / 0.6895 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.4761, allocations: 8 kB / 0.6895 GB, free: 15.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-05/0.4761, allocations: 35.42 kB / 0.6895 GB, free: 15.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.315e-05/0.4762, allocations: 59.86 kB / 0.6896 GB, free: 15.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4762, allocations: 0 / 0.6896 GB, free: 15.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000127/0.4763, allocations: 97.5 kB / 0.6897 GB, free: 15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.4764, allocations: 7.938 kB / 0.6897 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4764, allocations: 4 kB / 0.6897 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4764, allocations: 0 / 0.6897 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.728e-05/0.4765, allocations: 12 kB / 0.6897 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4765, allocations: 96 / 0.6897 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.4765, allocations: 12 kB / 0.6897 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.4765, allocations: 4 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 8.027e-05/0.4766, allocations: 117.8 kB / 0.6898 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.4767, allocations: 7.844 kB / 0.6899 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.4768, allocations: 81.11 kB / 0.6899 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.4768, allocations: 4 kB / 0.6899 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4769, allocations: 0 / 0.6899 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4769, allocations: 0 / 0.6899 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.477, allocations: 173.6 kB / 0.6901 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.477, allocations: 0 / 0.6901 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.292e-05/0.4771, allocations: 11.94 kB / 0.6901 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4771, allocations: 0 / 0.6901 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.4771, allocations: 0 / 0.6901 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4771, allocations: 0 / 0.6901 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4771, allocations: 0 / 0.6901 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.4773, allocations: 159.5 kB / 0.6903 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.4773, allocations: 96.88 kB / 0.6904 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.4773, allocations: 0 / 0.6904 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.636e-05/0.4774, allocations: 192 / 0.6904 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.4774, allocations: 4 kB / 0.6904 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.4774, allocations: 8 kB / 0.6904 GB, free: 14.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.4775, allocations: 87.27 kB / 0.6904 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4775, allocations: 0 / 0.6904 GB, free: 14.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004869/0.478, allocations: 139.9 kB / 0.6906 GB, free: 13.99 MB / 0.545 GB 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.0008036/0.4788, allocations: 342.9 kB / 0.6909 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.4789, allocations: 39.92 kB / 0.6909 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4789, allocations: 192 / 0.6909 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-05/0.479, allocations: 23.98 kB / 0.691 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.4793, allocations: 16.06 kB / 0.691 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.4797, allocations: 197.8 kB / 0.6912 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.4799, allocations: 0.6885 MB / 0.6918 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.48, allocations: 15.44 kB / 0.6919 GB, free: 12.62 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.48, allocations: 4 kB / 0.6919 GB, free: 12.61 MB / 0.545 GB Notification: Performance of Templates: time 0.00529/0.4853, allocations: 3.19 MB / 0.695 GB, free: 9.43 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