Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001427/0.001433, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 204 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2336, allocations: 50.54 MB / 409.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4146/0.6482, allocations: 152.2 MB / 0.5489 GB, free: 1.469 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.6504, allocations: 2.545 MB / 0.5514 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.6505, allocations: 0.9688 kB / 0.5514 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.6506, allocations: 31.5 kB / 0.5514 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008732/0.6515, allocations: 330.1 kB / 0.5518 GB, free: 1.449 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.6517, allocations: 62.86 kB / 0.5518 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.6518, allocations: 107.4 kB / 0.5519 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.6519, allocations: 5.375 kB / 0.5519 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.652, allocations: 45.55 kB / 0.552 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.6521, allocations: 36.02 kB / 0.552 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.6521, allocations: 3.906 kB / 0.552 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006422/0.6527, allocations: 368.5 kB / 0.5524 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.6528, allocations: 13.44 kB / 0.5524 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.692e-05/0.6528, allocations: 43.05 kB / 0.5524 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004363/0.6533, allocations: 313.6 kB / 0.5527 GB, free: 1.426 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6533, allocations: 1.812 kB / 0.5527 GB, free: 1.426 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6533, allocations: 0 / 0.5527 GB, free: 1.426 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.6533, allocations: 0.7812 kB / 0.5527 GB, free: 1.426 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000956/0.6543, allocations: 462.4 kB / 0.5532 GB, free: 17.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.6543, allocations: 10.58 kB / 0.5532 GB, free: 17.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006462/0.6608, allocations: 462.5 kB / 0.5536 GB, free: 17.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.6609, allocations: 180.1 kB / 0.5538 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.661, allocations: 7.281 kB / 0.5538 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/0.661, allocations: 6.969 kB / 0.5538 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/0.6618, allocations: 300.2 kB / 0.5541 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.6618, allocations: 0 / 0.5541 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.024e-05/0.6618, allocations: 3.938 kB / 0.5541 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.6618, allocations: 8.828 kB / 0.5541 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007292/0.6626, allocations: 271.5 kB / 0.5543 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.6629, allocations: 248.9 kB / 0.5546 GB, free: 16.58 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/0.6632, allocations: 165.5 kB / 0.5547 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.6634, allocations: 85.33 kB / 0.5548 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.6635, allocations: 6.172 kB / 0.5548 GB, free: 16.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.6635, allocations: 32.08 kB / 0.5549 GB, free: 16.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.455e-06/0.6635, allocations: 0.875 kB / 0.5549 GB, free: 16.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.002057/0.6656, allocations: 0.5787 MB / 0.5554 GB, free: 16.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.6656, allocations: 63.34 kB / 0.5555 GB, free: 16.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.327e-05/0.6657, allocations: 110.6 kB / 0.5556 GB, free: 16.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.6658, allocations: 28.42 kB / 0.5556 GB, free: 16.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.6658, allocations: 85.3 kB / 0.5557 GB, free: 16.17 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.6659, allocations: 85.16 kB / 0.5558 GB, free: 16.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.789e-05/0.666, allocations: 44.23 kB / 0.5558 GB, free: 16.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.6661, allocations: 321.4 kB / 0.5561 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.6664, allocations: 99.44 kB / 0.5562 GB, free: 15.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.6666, allocations: 108.5 kB / 0.5563 GB, free: 15.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/0.6672, allocations: 227.5 kB / 0.5565 GB, free: 15.78 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.6672, allocations: 0.875 kB / 0.5565 GB, free: 15.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006841/0.6679, allocations: 285 kB / 0.5568 GB, free: 15.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.6679, allocations: 5.094 kB / 0.5568 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6679, allocations: 0 / 0.5568 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.668, allocations: 3.688 kB / 0.5568 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/0.6684, allocations: 58.33 kB / 0.5569 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.6684, allocations: 3.938 kB / 0.5569 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.6687, allocations: 16.08 kB / 0.5569 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.6687, allocations: 19.45 kB / 0.5569 GB, free: 15.73 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (24): * Single equations (assignments): 24 * 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.0001231/0.6689, allocations: 122.4 kB / 0.557 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.6689, allocations: 10.41 kB / 0.557 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000848/0.6698, allocations: 352.2 kB / 0.5574 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.6698, allocations: 9.094 kB / 0.5574 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6698, allocations: 1 kB / 0.5574 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6698, allocations: 0 / 0.5574 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.6712, allocations: 0.729 MB / 0.5581 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6712, allocations: 3.406 kB / 0.5581 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.6716, allocations: 61.42 kB / 0.5582 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.6716, allocations: 3.062 kB / 0.5582 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.6717, allocations: 12.03 kB / 0.5582 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.6717, allocations: 3.156 kB / 0.5582 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6717, allocations: 7.281 kB / 0.5582 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.6724, allocations: 414.8 kB / 0.5586 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.6725, allocations: 90.92 kB / 0.5587 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.6725, allocations: 6.5 kB / 0.5587 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.6728, allocations: 15.86 kB / 0.5587 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.6729, allocations: 22.19 kB / 0.5587 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.6729, allocations: 21.09 kB / 0.5587 GB, free: 14.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.298e-05/0.673, allocations: 88.19 kB / 0.5588 GB, free: 14.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.673, allocations: 0 / 0.5588 GB, free: 14.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003439/0.6733, allocations: 55.94 kB / 0.5589 GB, free: 14.83 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.0002202/0.6735, allocations: 130.8 kB / 0.559 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006717/0.6742, allocations: 251.7 kB / 0.5592 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6742, allocations: 0 / 0.5592 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.6745, allocations: 135.9 kB / 0.5594 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.6751, allocations: 58.91 kB / 0.5594 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.6759, allocations: 373.8 kB / 0.5598 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.6762, allocations: 0.7055 MB / 0.5605 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.6764, allocations: 42.55 kB / 0.5605 GB, free: 13.8 MB / 478.1 MB Notification: Performance of SimCode: time 2.71e-07/0.6764, allocations: 0 / 0.5605 GB, free: 13.8 MB / 478.1 MB Notification: Performance of Templates: time 0.004306/0.6807, allocations: 2.909 MB / 0.5633 GB, free: 13.71 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches