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.001568/0.001568, allocations: 105.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002004/0.002004, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.09 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 76.52 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1195, allocations: 62.45 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3768/0.4963, allocations: 153.9 MB / 0.619 GB, free: 9.336 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.4984, allocations: 1.457 MB / 0.6205 GB, free: 7.879 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.4985, allocations: 4 kB / 0.6205 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.4989, allocations: 43.17 kB / 0.6205 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002757/0.5017, allocations: 1.073 MB / 0.6216 GB, free: 6.785 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.44e-06/0.5017, allocations: 0 / 0.6216 GB, free: 6.785 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.5019, allocations: 71.64 kB / 0.6216 GB, free: 6.715 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.5019, allocations: 0 / 0.6216 GB, free: 6.715 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.502, allocations: 27.86 kB / 0.6217 GB, free: 6.688 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.502, allocations: 27.91 kB / 0.6217 GB, free: 6.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.5021, allocations: 4 kB / 0.6217 GB, free: 6.656 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00307/0.5051, allocations: 1.84 MB / 0.6235 GB, free: 4.816 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.5052, allocations: 15.97 kB / 0.6235 GB, free: 4.801 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.5053, allocations: 23.88 kB / 0.6235 GB, free: 4.777 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.5069, allocations: 0.9162 MB / 0.6244 GB, free: 3.859 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.5069, allocations: 0 / 0.6244 GB, free: 3.859 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5069, allocations: 4 kB / 0.6244 GB, free: 3.855 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.5069, allocations: 0 / 0.6244 GB, free: 3.855 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.0008163/0.5077, allocations: 0.4952 MB / 0.6249 GB, free: 3.312 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5078, allocations: 8.031 kB / 0.6249 GB, free: 3.305 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.5078, allocations: 4.938 kB / 0.6249 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.5079, allocations: 171.8 kB / 0.6251 GB, free: 3.094 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.508, allocations: 8 kB / 0.6251 GB, free: 3.086 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.508, allocations: 3.984 kB / 0.6251 GB, free: 3.082 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.5082, allocations: 88.11 kB / 0.6252 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.5082, allocations: 0 / 0.6252 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.5082, allocations: 4 kB / 0.6252 GB, free: 2.988 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/0.5083, allocations: 15.98 kB / 0.6252 GB, free: 2.973 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.5084, allocations: 59.97 kB / 0.6253 GB, free: 2.914 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.5089, allocations: 315.3 kB / 0.6256 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/0.5089, allocations: 38.56 kB / 0.6256 GB, free: 2.512 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/0.509, allocations: 16.97 kB / 0.6256 GB, free: 2.492 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.5093, allocations: 259.3 kB / 0.6259 GB, free: 2.184 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.5093, allocations: 38.56 kB / 0.6259 GB, free: 2.137 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 3.477e-06/0.5093, allocations: 3.984 kB / 0.6259 GB, free: 2.133 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002345/0.5096, allocations: 73.55 kB / 0.626 GB, free: 2.055 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.5096, allocations: 51.41 kB / 0.626 GB, free: 1.992 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.5097, allocations: 105.8 kB / 0.6261 GB, free: 1.879 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.5097, allocations: 25.7 kB / 0.6261 GB, free: 1.848 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.5098, allocations: 99.89 kB / 0.6262 GB, free: 1.746 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.5098, allocations: 15.8 kB / 0.6262 GB, free: 1.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.5099, allocations: 25.72 kB / 0.6263 GB, free: 1.699 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.51, allocations: 310.8 kB / 0.6266 GB, free: 1.387 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.358e-05/0.5101, allocations: 15.98 kB / 0.6266 GB, free: 1.371 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.253e-05/0.5101, allocations: 39.42 kB / 0.6266 GB, free: 1.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.363e-05/0.5102, allocations: 57.73 kB / 0.6267 GB, free: 1.254 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.5102, allocations: 4 kB / 0.6267 GB, free: 1.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000136/0.5104, allocations: 81.47 kB / 0.6268 GB, free: 1.164 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.5104, allocations: 14.39 kB / 0.6268 GB, free: 1.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5104, allocations: 3.938 kB / 0.6268 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.5104, allocations: 3.094 kB / 0.6268 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.5105, allocations: 15.98 kB / 0.6268 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5105, allocations: 96 / 0.6268 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/0.5106, allocations: 11.94 kB / 0.6268 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.5106, allocations: 4 kB / 0.6268 GB, free: 1.117 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.325e-05/0.5107, allocations: 117.8 kB / 0.6269 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.5107, allocations: 11.83 kB / 0.6269 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.5109, allocations: 69.25 kB / 0.627 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.511, allocations: 7.984 kB / 0.627 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.511, allocations: 4 kB / 0.627 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.511, allocations: 0 / 0.627 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.5112, allocations: 165.6 kB / 0.6272 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.5112, allocations: 0 / 0.6272 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.5112, allocations: 11.98 kB / 0.6272 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5113, allocations: 3.938 kB / 0.6272 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.5113, allocations: 0 / 0.6272 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5113, allocations: 4 kB / 0.6272 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5113, allocations: 0 / 0.6272 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.5115, allocations: 159.5 kB / 0.6273 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.5115, allocations: 81.02 kB / 0.6274 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.5116, allocations: 7.938 kB / 0.6274 GB, free: 404 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.112e-05/0.5116, allocations: 3.984 kB / 0.6274 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.5116, allocations: 0 / 0.6274 GB, free: 400 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.5117, allocations: 8.75 kB / 0.6274 GB, free: 392 kB / 462.1 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.5117, allocations: 79.28 kB / 0.6275 GB, free: 312 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5117, allocations: 0 / 0.6275 GB, free: 312 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.000648/0.5124, allocations: 159.8 kB / 0.6277 GB, free: 152 kB / 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.001019/0.5134, allocations: 340 kB / 0.628 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.5136, allocations: 40.8 kB / 0.628 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5136, allocations: 4.188 kB / 0.628 GB, free: 15.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.5136, allocations: 15.92 kB / 0.628 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.5139, allocations: 16.77 kB / 0.6281 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.5144, allocations: 165.3 kB / 0.6282 GB, free: 15.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.5146, allocations: 0.6881 MB / 0.6289 GB, free: 14.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 7.669e-05/0.5147, allocations: 16.12 kB / 0.6289 GB, free: 14.83 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.5148, allocations: 23.44 kB / 0.6289 GB, free: 14.8 MB / 478.1 MB Notification: Performance of SimCode: time 2.11e-07/0.5148, allocations: 0 / 0.6289 GB, free: 14.8 MB / 478.1 MB Notification: Performance of Templates: time 0.007091/0.5219, allocations: 3.668 MB / 0.6325 GB, free: 11.14 MB / 478.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches