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.001646/0.001646, allocations: 116.3 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.002038/0.002038, allocations: 206 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.606/1.606, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2988, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4424/0.7413, allocations: 152.2 MB / 0.5489 GB, free: 1.457 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.7438, allocations: 2.539 MB / 0.5514 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.7439, allocations: 0.875 kB / 0.5514 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001787/0.7441, allocations: 27.59 kB / 0.5514 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.7454, allocations: 337.8 kB / 0.5518 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.7456, allocations: 61.47 kB / 0.5518 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.7457, allocations: 110.1 kB / 0.5519 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.626e-05/0.7458, allocations: 6 kB / 0.5519 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.7459, allocations: 42.27 kB / 0.552 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.891e-05/0.746, allocations: 40.38 kB / 0.552 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.746, allocations: 4.156 kB / 0.552 GB, free: 1.441 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/0.7469, allocations: 363.8 kB / 0.5524 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.7469, allocations: 18.09 kB / 0.5524 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.747, allocations: 34.78 kB / 0.5524 GB, free: 1.438 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.7475, allocations: 320.6 kB / 0.5527 GB, free: 1.422 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7475, allocations: 1.203 kB / 0.5527 GB, free: 1.422 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.7475, allocations: 0 / 0.5527 GB, free: 1.422 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.7475, allocations: 0.9375 kB / 0.5527 GB, free: 1.422 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.001044/0.7486, allocations: 457.5 kB / 0.5531 GB, free: 17.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.7486, allocations: 8.844 kB / 0.5532 GB, free: 17.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006052/0.7547, allocations: 461.4 kB / 0.5536 GB, free: 17.03 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.7549, allocations: 180.2 kB / 0.5538 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.7549, allocations: 8.281 kB / 0.5538 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.7551, allocations: 9.969 kB / 0.5538 GB, free: 16.82 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007525/0.7558, allocations: 302.2 kB / 0.5541 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.7558, allocations: 0 / 0.5541 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.7559, allocations: 3.375 kB / 0.5541 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.7559, allocations: 0 / 0.5541 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.7567, allocations: 278.9 kB / 0.5543 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.757, allocations: 249.8 kB / 0.5546 GB, free: 16.58 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.7574, allocations: 163.9 kB / 0.5547 GB, free: 16.55 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.7576, allocations: 87.33 kB / 0.5548 GB, free: 16.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.7577, allocations: 4.344 kB / 0.5548 GB, free: 16.54 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.7577, allocations: 38.52 kB / 0.5549 GB, free: 16.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.7577, allocations: 0 / 0.5549 GB, free: 16.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.002191/0.7599, allocations: 0.577 MB / 0.5554 GB, free: 16.45 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.76, allocations: 62.45 kB / 0.5555 GB, free: 16.38 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.7601, allocations: 110.3 kB / 0.5556 GB, free: 16.28 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.7601, allocations: 31.33 kB / 0.5556 GB, free: 16.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.7602, allocations: 84.83 kB / 0.5557 GB, free: 16.17 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/0.7602, allocations: 77.02 kB / 0.5558 GB, free: 16.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.7603, allocations: 49.02 kB / 0.5558 GB, free: 16.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.7605, allocations: 321.7 kB / 0.5561 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.7608, allocations: 98.67 kB / 0.5562 GB, free: 15.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.7611, allocations: 105.8 kB / 0.5563 GB, free: 15.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.7617, allocations: 225.7 kB / 0.5565 GB, free: 15.78 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7617, allocations: 0 / 0.5565 GB, free: 15.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007272/0.7624, allocations: 291.6 kB / 0.5568 GB, free: 15.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.7625, allocations: 5.281 kB / 0.5568 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7625, allocations: 2.25 kB / 0.5568 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.7625, allocations: 2.906 kB / 0.5568 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.763, allocations: 59.28 kB / 0.5569 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.763, allocations: 0.9375 kB / 0.5569 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.7633, allocations: 21.41 kB / 0.5569 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.884e-05/0.7634, allocations: 14.45 kB / 0.5569 GB, free: 15.72 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.0001447/0.7635, allocations: 126.9 kB / 0.557 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.7636, allocations: 11.81 kB / 0.557 GB, free: 15.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009239/0.7645, allocations: 349.7 kB / 0.5574 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.7645, allocations: 6.562 kB / 0.5574 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7645, allocations: 1 kB / 0.5574 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7645, allocations: 4.469 kB / 0.5574 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.7661, allocations: 0.7325 MB / 0.5581 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7661, allocations: 3.312 kB / 0.5581 GB, free: 15.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.7665, allocations: 61.11 kB / 0.5582 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.7665, allocations: 2.25 kB / 0.5582 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.7666, allocations: 13.22 kB / 0.5582 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.7666, allocations: 3.531 kB / 0.5582 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7666, allocations: 0 / 0.5582 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/0.7674, allocations: 415 kB / 0.5586 GB, free: 15.01 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.7674, allocations: 89 kB / 0.5587 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.7675, allocations: 8.719 kB / 0.5587 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.7678, allocations: 12.41 kB / 0.5587 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.7679, allocations: 26.53 kB / 0.5587 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.7679, allocations: 18.59 kB / 0.5587 GB, free: 14.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.233e-05/0.768, allocations: 87.23 kB / 0.5588 GB, free: 14.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.768, allocations: 0.8125 kB / 0.5588 GB, free: 14.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003766/0.7684, allocations: 51.44 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.0002843/0.7686, allocations: 134.1 kB / 0.559 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007429/0.7694, allocations: 249.5 kB / 0.5592 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.7694, allocations: 3.594 kB / 0.5592 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.7698, allocations: 137.6 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.0005788/0.7703, allocations: 64.12 kB / 0.5594 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009931/0.7713, allocations: 365.2 kB / 0.5598 GB, free: 14.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.7717, allocations: 0.7036 MB / 0.5605 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.7719, allocations: 46.67 kB / 0.5605 GB, free: 13.8 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.7719, allocations: 0 / 0.5605 GB, free: 13.8 MB / 478.1 MB Notification: Performance of Templates: time 0.004534/0.7765, allocations: 2.923 MB / 0.5634 GB, free: 13.7 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