Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 111.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001102, allocations: 206.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2067, allocations: 50.54 MB / 409.9 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3457/0.5525, allocations: 154.4 MB / 0.5511 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.5538, allocations: 1.609 MB / 0.5527 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.5538, allocations: 6.5 kB / 0.5527 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.5541, allocations: 65.95 kB / 0.5528 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.5545, allocations: 168.8 kB / 0.5529 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.5564, allocations: 1.035 MB / 0.5539 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.5567, allocations: 350.2 kB / 0.5543 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.5567, allocations: 20.11 kB / 0.5543 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.5569, allocations: 162.7 kB / 0.5545 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.5571, allocations: 130.5 kB / 0.5546 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.5572, allocations: 13.03 kB / 0.5546 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.559, allocations: 1.625 MB / 0.5562 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.5591, allocations: 69.28 kB / 0.5562 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.231e-05/0.5592, allocations: 108.5 kB / 0.5563 GB, free: 0.6172 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.5602, allocations: 1.031 MB / 0.5574 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.5603, allocations: 0 / 0.5574 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.5603, allocations: 0 / 0.5574 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.5603, allocations: 0 / 0.5574 GB, free: 0.5625 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001505/0.5618, allocations: 0.6982 MB / 0.558 GB, free: 16.08 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.5618, allocations: 10.75 kB / 0.558 GB, free: 16.08 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.562, allocations: 19.53 kB / 0.5581 GB, free: 16.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.5622, allocations: 227.2 kB / 0.5583 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.5622, allocations: 9.578 kB / 0.5583 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.5622, allocations: 22.64 kB / 0.5583 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.5628, allocations: 267.4 kB / 0.5586 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5628, allocations: 0 / 0.5586 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/0.5628, allocations: 6.25 kB / 0.5586 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.5628, allocations: 11.94 kB / 0.5586 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005725/0.5634, allocations: 268 kB / 0.5588 GB, free: 15.79 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.5647, allocations: 0.795 MB / 0.5596 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005487/0.5652, allocations: 220.8 kB / 0.5598 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.5655, allocations: 139 kB / 0.56 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.5658, allocations: 359.2 kB / 0.5603 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.5659, allocations: 40.08 kB / 0.5603 GB, free: 14.81 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.633e-06/0.5659, allocations: 0 / 0.5603 GB, free: 14.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.00222/0.5681, allocations: 0.683 MB / 0.561 GB, free: 14.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.5681, allocations: 79.05 kB / 0.5611 GB, free: 14.63 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.386e-05/0.5682, allocations: 146.5 kB / 0.5612 GB, free: 14.53 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.5683, allocations: 33.2 kB / 0.5613 GB, free: 14.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.5683, allocations: 110 kB / 0.5614 GB, free: 14.39 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.5684, allocations: 127 kB / 0.5615 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.5686, allocations: 73.19 kB / 0.5615 GB, free: 14.29 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.5687, allocations: 329.6 kB / 0.5619 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.569, allocations: 134.2 kB / 0.562 GB, free: 13.98 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003772/0.5694, allocations: 210.2 kB / 0.5622 GB, free: 13.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.5702, allocations: 353.7 kB / 0.5625 GB, free: 13.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5702, allocations: 3.781 kB / 0.5625 GB, free: 13.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000872/0.5711, allocations: 406.9 kB / 0.5629 GB, free: 13.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.5711, allocations: 5.594 kB / 0.5629 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-06/0.5711, allocations: 6.812 kB / 0.5629 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.5711, allocations: 2.094 kB / 0.5629 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.5716, allocations: 91.78 kB / 0.563 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.5716, allocations: 5.781 kB / 0.563 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.5719, allocations: 26.73 kB / 0.5631 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.5719, allocations: 13.16 kB / 0.5631 GB, free: 13.77 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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 0.0001294/0.5721, allocations: 157.5 kB / 0.5632 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.427e-05/0.5721, allocations: 21.25 kB / 0.5632 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.5725, allocations: 179.4 kB / 0.5634 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5725, allocations: 4 kB / 0.5634 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5725, allocations: 6.688 kB / 0.5634 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.5726, allocations: 116.2 kB / 0.5635 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.5727, allocations: 18.28 kB / 0.5635 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.573, allocations: 23.48 kB / 0.5636 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.5731, allocations: 20.72 kB / 0.5636 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001123/0.5742, allocations: 0.5428 MB / 0.5641 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001286/0.5755, allocations: 0.7869 MB / 0.5649 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003525/0.5759, allocations: 173.9 kB / 0.5651 GB, free: 12.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.22e-05/0.5759, allocations: 101.7 kB / 0.5651 GB, free: 12.89 MB / 478.1 MB Notification: Performance of Backend: time 2.1e-07/0.5759, allocations: 0 / 0.5651 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.5777, allocations: 0.6665 MB / 0.5658 GB, free: 12.75 MB / 478.1 MB Notification: Performance of SimCode: time 0.0008833/0.5786, allocations: 0.9375 MB / 0.5667 GB, free: 11.99 MB / 478.1 MB Notification: Performance of Templates: time 0.01212/0.5907, allocations: 9.759 MB / 0.5762 GB, free: 10.89 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches