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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00177/0.00177, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.89 kB / 379 MB, free: 2.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2621, allocations: 53.39 MB / 432.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4343/0.6964, allocations: 152.7 MB / 0.5714 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.6986, allocations: 2.561 MB / 0.5739 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.6987, allocations: 0 / 0.5739 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.6989, allocations: 25.23 kB / 0.5739 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000999/0.6999, allocations: 344.9 kB / 0.5742 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.7001, allocations: 62.31 kB / 0.5743 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.7002, allocations: 102.2 kB / 0.5744 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.7003, allocations: 6.859 kB / 0.5744 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.7004, allocations: 42.47 kB / 0.5744 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.071e-05/0.7005, allocations: 36.91 kB / 0.5745 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.7005, allocations: 4.594 kB / 0.5745 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007405/0.7012, allocations: 373.5 kB / 0.5748 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.7012, allocations: 7.062 kB / 0.5749 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.227e-05/0.7013, allocations: 44.92 kB / 0.5749 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004804/0.7018, allocations: 315.2 kB / 0.5752 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7018, allocations: 0 / 0.5752 GB, free: 12.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.7018, allocations: 7.656 kB / 0.5752 GB, free: 12.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.7018, allocations: 0 / 0.5752 GB, free: 12.72 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.000931/0.7027, allocations: 386.7 kB / 0.5756 GB, free: 12.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.7028, allocations: 11.58 kB / 0.5756 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005953/0.7087, allocations: 460.7 kB / 0.576 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.7089, allocations: 128.2 kB / 0.5761 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.7089, allocations: 6.219 kB / 0.5761 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-05/0.709, allocations: 8.438 kB / 0.5762 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/0.7097, allocations: 293.4 kB / 0.5764 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.7097, allocations: 2.344 kB / 0.5764 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.7098, allocations: 3.625 kB / 0.5764 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.7098, allocations: 6.562 kB / 0.5764 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007472/0.7105, allocations: 273.6 kB / 0.5767 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.7108, allocations: 227.4 kB / 0.5769 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.7112, allocations: 152.5 kB / 0.5771 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.7114, allocations: 80.41 kB / 0.5771 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.7114, allocations: 6.078 kB / 0.5772 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.7115, allocations: 31.44 kB / 0.5772 GB, free: 11.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 2.154e-06/0.7115, allocations: 4 kB / 0.5772 GB, free: 11.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002086/0.7136, allocations: 0.579 MB / 0.5778 GB, free: 11.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.7136, allocations: 61.84 kB / 0.5778 GB, free: 11.83 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.476e-05/0.7137, allocations: 109.1 kB / 0.5779 GB, free: 11.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.7137, allocations: 28.17 kB / 0.5779 GB, free: 11.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.687e-05/0.7138, allocations: 83.89 kB / 0.578 GB, free: 11.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.622e-05/0.7139, allocations: 88.03 kB / 0.5781 GB, free: 11.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/0.714, allocations: 47.61 kB / 0.5782 GB, free: 11.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.7141, allocations: 324.5 kB / 0.5785 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.7144, allocations: 97.45 kB / 0.5786 GB, free: 11.23 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.7146, allocations: 103.1 kB / 0.5787 GB, free: 11.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.7152, allocations: 228.5 kB / 0.5789 GB, free: 11.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.7152, allocations: 0 / 0.5789 GB, free: 11.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006511/0.7158, allocations: 291.9 kB / 0.5792 GB, free: 11.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.7159, allocations: 7.188 kB / 0.5792 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.7159, allocations: 0 / 0.5792 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.7159, allocations: 5.609 kB / 0.5792 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.7163, allocations: 53.44 kB / 0.5792 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.7164, allocations: 0 / 0.5792 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.7166, allocations: 17.03 kB / 0.5792 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.7167, allocations: 9.203 kB / 0.5792 GB, free: 11.16 MB / 462.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.0001412/0.7168, allocations: 133.3 kB / 0.5794 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.7169, allocations: 11.59 kB / 0.5794 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008883/0.7177, allocations: 357.5 kB / 0.5797 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.7178, allocations: 6.562 kB / 0.5797 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7178, allocations: 3.938 kB / 0.5797 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.7178, allocations: 1.969 kB / 0.5797 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.7192, allocations: 0.6909 MB / 0.5804 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7192, allocations: 160 / 0.5804 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.7197, allocations: 61.94 kB / 0.5805 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.7197, allocations: 2.656 kB / 0.5805 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.7197, allocations: 11 kB / 0.5805 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.7197, allocations: 2.469 kB / 0.5805 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7197, allocations: 3.141 kB / 0.5805 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.7205, allocations: 408.6 kB / 0.5809 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.7205, allocations: 16.12 kB / 0.5809 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.7205, allocations: 10.19 kB / 0.5809 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003186/0.7208, allocations: 15.45 kB / 0.5809 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.7209, allocations: 23.19 kB / 0.5809 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.7209, allocations: 20.03 kB / 0.581 GB, free: 10.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.466e-05/0.721, allocations: 86.78 kB / 0.581 GB, free: 10.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.721, allocations: 0 / 0.581 GB, free: 10.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.7213, allocations: 58.84 kB / 0.5811 GB, free: 10.34 MB / 462.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.0002528/0.7216, allocations: 127.6 kB / 0.5812 GB, free: 10.24 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006586/0.7222, allocations: 240.9 kB / 0.5814 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7223, allocations: 0 / 0.5814 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.7226, allocations: 130.3 kB / 0.5816 GB, free: 10.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.7231, allocations: 63.03 kB / 0.5816 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009156/0.724, allocations: 373.9 kB / 0.582 GB, free: 9.969 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.7244, allocations: 0.7068 MB / 0.5827 GB, free: 9.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.7246, allocations: 38.62 kB / 0.5827 GB, free: 9.258 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/0.7246, allocations: 1.094 kB / 0.5827 GB, free: 9.258 MB / 462.1 MB Notification: Performance of Templates: time 0.005329/0.7299, allocations: 2.929 MB / 0.5856 GB, free: 7.938 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.769966094987467]