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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00137/0.00137, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 207.2 kB / 19.79 MB, free: 2.586 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.429/1.429, allocations: 230.5 MB / 251.1 MB, free: 8.492 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.002003/0.002003, allocations: 67.83 kB / 368.9 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2278, allocations: 53.31 MB / 422.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.397/0.6247, allocations: 152.6 MB / 0.5614 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.6265, allocations: 2.551 MB / 0.5639 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.943e-05/0.6266, allocations: 6.312 kB / 0.5639 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.6267, allocations: 25.91 kB / 0.5639 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007254/0.6275, allocations: 340.3 kB / 0.5643 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.6276, allocations: 58.56 kB / 0.5643 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.6277, allocations: 109.4 kB / 0.5644 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.6278, allocations: 2.781 kB / 0.5644 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.522e-05/0.6279, allocations: 45.83 kB / 0.5645 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.208e-05/0.6279, allocations: 34.69 kB / 0.5645 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.6279, allocations: 2.469 kB / 0.5645 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005744/0.6285, allocations: 378.9 kB / 0.5649 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.6285, allocations: 8.703 kB / 0.5649 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.6286, allocations: 37.97 kB / 0.5649 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.6289, allocations: 314.7 kB / 0.5652 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6289, allocations: 0 / 0.5652 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.6289, allocations: 1.203 kB / 0.5652 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.6289, allocations: 0 / 0.5652 GB, free: 0.9141 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.0009262/0.6299, allocations: 466.8 kB / 0.5656 GB, free: 16.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.6299, allocations: 8.406 kB / 0.5657 GB, free: 16.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005954/0.6358, allocations: 465.1 kB / 0.5661 GB, free: 16.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.636, allocations: 185.3 kB / 0.5663 GB, free: 16.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.636, allocations: 6.25 kB / 0.5663 GB, free: 16.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.882e-05/0.6361, allocations: 5.578 kB / 0.5663 GB, free: 16.3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.6368, allocations: 305.8 kB / 0.5666 GB, free: 16.26 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.6368, allocations: 0 / 0.5666 GB, free: 16.26 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.6368, allocations: 6.734 kB / 0.5666 GB, free: 16.25 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.6369, allocations: 0 / 0.5666 GB, free: 16.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.6376, allocations: 281.3 kB / 0.5669 GB, free: 16.25 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.6378, allocations: 252.9 kB / 0.5671 GB, free: 16.04 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.6382, allocations: 146.4 kB / 0.5672 GB, free: 16.01 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.6384, allocations: 87.98 kB / 0.5673 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.6384, allocations: 1.812 kB / 0.5673 GB, free: 16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.6384, allocations: 37.66 kB / 0.5674 GB, free: 15.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.6384, allocations: 0 / 0.5674 GB, free: 15.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.002039/0.6405, allocations: 0.5715 MB / 0.5679 GB, free: 15.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.6405, allocations: 61.59 kB / 0.568 GB, free: 15.83 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.6406, allocations: 114.6 kB / 0.5681 GB, free: 15.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.6406, allocations: 28.95 kB / 0.5681 GB, free: 15.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.6407, allocations: 87.92 kB / 0.5682 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.6407, allocations: 83.84 kB / 0.5683 GB, free: 15.56 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.647e-05/0.6408, allocations: 44.44 kB / 0.5683 GB, free: 15.55 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.641, allocations: 324.1 kB / 0.5686 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/0.6413, allocations: 99.41 kB / 0.5687 GB, free: 15.23 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.6415, allocations: 106.4 kB / 0.5688 GB, free: 15.23 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005231/0.642, allocations: 225.5 kB / 0.569 GB, free: 15.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.642, allocations: 0 / 0.569 GB, free: 15.22 MB / 478.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006368/0.6427, allocations: 286.8 kB / 0.5693 GB, free: 15.17 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.6427, allocations: 6.859 kB / 0.5693 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.6427, allocations: 0 / 0.5693 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.6427, allocations: 0 / 0.5693 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.6432, allocations: 61.92 kB / 0.5694 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6432, allocations: 4 kB / 0.5694 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/0.6435, allocations: 14.02 kB / 0.5694 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.6435, allocations: 11.19 kB / 0.5694 GB, free: 15.16 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.00012/0.6437, allocations: 119 kB / 0.5695 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.6437, allocations: 11.27 kB / 0.5695 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000841/0.6445, allocations: 353.4 kB / 0.5699 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.6445, allocations: 17.73 kB / 0.5699 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.6445, allocations: 1.094 kB / 0.5699 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6445, allocations: 0 / 0.5699 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.6459, allocations: 0.7207 MB / 0.5706 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6459, allocations: 3.219 kB / 0.5706 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004055/0.6463, allocations: 61.28 kB / 0.5706 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6463, allocations: 0 / 0.5706 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.6463, allocations: 8.688 kB / 0.5707 GB, free: 14.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6463, allocations: 12.81 kB / 0.5707 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6463, allocations: 7.406 kB / 0.5707 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.647, allocations: 412.9 kB / 0.5711 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.6471, allocations: 92.36 kB / 0.5712 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.15e-05/0.6471, allocations: 7.125 kB / 0.5712 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.6475, allocations: 18.95 kB / 0.5712 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.6475, allocations: 22.48 kB / 0.5712 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.6475, allocations: 15.45 kB / 0.5712 GB, free: 14.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.623e-05/0.6476, allocations: 89.06 kB / 0.5713 GB, free: 14.24 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6476, allocations: 0 / 0.5713 GB, free: 14.24 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003277/0.6479, allocations: 58.08 kB / 0.5714 GB, free: 14.24 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.0002091/0.6481, allocations: 129.8 kB / 0.5715 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006234/0.6487, allocations: 241.8 kB / 0.5717 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6487, allocations: 0 / 0.5717 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.649, allocations: 133.5 kB / 0.5718 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.6495, allocations: 51.64 kB / 0.5719 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007798/0.6503, allocations: 354.3 kB / 0.5722 GB, free: 13.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.6506, allocations: 0.705 MB / 0.5729 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002962/0.6509, allocations: 66.28 kB / 0.573 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.6511, allocations: 33.69 kB / 0.573 GB, free: 13.19 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.6511, allocations: 0 / 0.573 GB, free: 13.19 MB / 478.1 MB Notification: Performance of Templates: time 0.006905/0.658, allocations: 4.216 MB / 0.5771 GB, free: 12.95 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches