Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001666/0.001666, allocations: 115.5 kB / 18.45 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001887/0.001887, allocations: 210.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 55.91 kB / 359.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2249, allocations: 50.53 MB / 410.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3863/0.6113, allocations: 152.6 MB / 0.5496 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.6133, allocations: 2.551 MB / 0.5521 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.6134, allocations: 0 / 0.5521 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.6135, allocations: 28.33 kB / 0.5521 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007527/0.6142, allocations: 339.4 kB / 0.5524 GB, free: 1.418 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.6144, allocations: 61.75 kB / 0.5525 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.6145, allocations: 111.4 kB / 0.5526 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.6145, allocations: 3.984 kB / 0.5526 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.989e-05/0.6146, allocations: 39.7 kB / 0.5527 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.132e-05/0.6147, allocations: 41.7 kB / 0.5527 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.6147, allocations: 2.562 kB / 0.5527 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005669/0.6153, allocations: 368.4 kB / 0.553 GB, free: 1.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.6153, allocations: 14.5 kB / 0.5531 GB, free: 1.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.6154, allocations: 38.8 kB / 0.5531 GB, free: 1.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.6157, allocations: 311.7 kB / 0.5534 GB, free: 1.395 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6158, allocations: 3.312 kB / 0.5534 GB, free: 1.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6158, allocations: 3.094 kB / 0.5534 GB, free: 1.395 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.6158, allocations: 1.094 kB / 0.5534 GB, free: 1.395 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.0009798/0.6167, allocations: 464.4 kB / 0.5538 GB, free: 17 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.6168, allocations: 11.31 kB / 0.5539 GB, free: 17 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006689/0.6235, allocations: 466 kB / 0.5543 GB, free: 16.99 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.6236, allocations: 174.8 kB / 0.5545 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.6237, allocations: 3.281 kB / 0.5545 GB, free: 16.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/0.6237, allocations: 13.23 kB / 0.5545 GB, free: 16.78 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/0.6245, allocations: 301.1 kB / 0.5548 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.6245, allocations: 0.7812 kB / 0.5548 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/0.6245, allocations: 2.469 kB / 0.5548 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6246, allocations: 5.016 kB / 0.5548 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.6253, allocations: 279.9 kB / 0.555 GB, free: 16.75 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002614/0.6256, allocations: 251.9 kB / 0.5553 GB, free: 16.53 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.626, allocations: 153.8 kB / 0.5554 GB, free: 16.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.6262, allocations: 84.12 kB / 0.5555 GB, free: 16.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.6262, allocations: 3.75 kB / 0.5555 GB, free: 16.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.6262, allocations: 38.19 kB / 0.5556 GB, free: 16.46 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.6262, allocations: 0.625 kB / 0.5556 GB, free: 16.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.00207/0.6283, allocations: 0.5742 MB / 0.5561 GB, free: 16.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.6283, allocations: 62.62 kB / 0.5562 GB, free: 16.34 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.185e-05/0.6284, allocations: 108.6 kB / 0.5563 GB, free: 16.24 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.6284, allocations: 28.39 kB / 0.5563 GB, free: 16.21 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.6285, allocations: 84.45 kB / 0.5564 GB, free: 16.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.276e-05/0.6285, allocations: 88.73 kB / 0.5565 GB, free: 16.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.492e-05/0.6286, allocations: 41.69 kB / 0.5565 GB, free: 16.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6288, allocations: 323.9 kB / 0.5568 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.629, allocations: 104.1 kB / 0.5569 GB, free: 15.74 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.6293, allocations: 102.5 kB / 0.557 GB, free: 15.74 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005627/0.6299, allocations: 228 kB / 0.5572 GB, free: 15.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.6299, allocations: 0 / 0.5572 GB, free: 15.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006865/0.6306, allocations: 286.8 kB / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.6306, allocations: 6.156 kB / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6306, allocations: 0 / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6306, allocations: 1.719 kB / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.6311, allocations: 59.22 kB / 0.5576 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.6311, allocations: 1.031 kB / 0.5576 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.6313, allocations: 17.69 kB / 0.5576 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.6314, allocations: 13.34 kB / 0.5576 GB, free: 15.68 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.0001249/0.6315, allocations: 126.6 kB / 0.5577 GB, free: 15.57 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.6315, allocations: 8.766 kB / 0.5577 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000871/0.6324, allocations: 350.5 kB / 0.5581 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6324, allocations: 9.25 kB / 0.5581 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6324, allocations: 5.047 kB / 0.5581 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6324, allocations: 0 / 0.5581 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.6338, allocations: 0.7213 MB / 0.5588 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6338, allocations: 0 / 0.5588 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.6342, allocations: 64.94 kB / 0.5588 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.6342, allocations: 3.875 kB / 0.5588 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.547e-05/0.6343, allocations: 14.92 kB / 0.5589 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6343, allocations: 6.406 kB / 0.5589 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6343, allocations: 0.9375 kB / 0.5589 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007587/0.635, allocations: 415.8 kB / 0.5593 GB, free: 14.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.6351, allocations: 94.98 kB / 0.5594 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.6351, allocations: 6.062 kB / 0.5594 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.6355, allocations: 21.61 kB / 0.5594 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.6355, allocations: 19.25 kB / 0.5594 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.6355, allocations: 17.75 kB / 0.5594 GB, free: 14.86 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.439e-05/0.6356, allocations: 89.23 kB / 0.5595 GB, free: 14.79 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6356, allocations: 0 / 0.5595 GB, free: 14.79 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.6359, allocations: 56.12 kB / 0.5596 GB, free: 14.79 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.0002279/0.6362, allocations: 130.4 kB / 0.5597 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006693/0.6368, allocations: 244.3 kB / 0.5599 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.6368, allocations: 0 / 0.5599 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003158/0.6371, allocations: 130.6 kB / 0.56 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005287/0.6377, allocations: 54.62 kB / 0.5601 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.6385, allocations: 347 kB / 0.5604 GB, free: 14.49 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.6388, allocations: 0.706 MB / 0.5611 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002916/0.6391, allocations: 56.42 kB / 0.5612 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.6393, allocations: 40.28 kB / 0.5612 GB, free: 13.78 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.6393, allocations: 0 / 0.5612 GB, free: 13.78 MB / 478.1 MB Notification: Performance of Templates: time 0.006918/0.6462, allocations: 4.154 MB / 0.5653 GB, free: 13.67 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches