Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9075/0.9075, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 273 MB, free: 1.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.766e-05, allocations: 9.688 kB / 273 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.217/0.217, allocations: 144.9 MB / 418 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.219, allocations: 2.536 MB / 420.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.219, allocations: 0 / 420.5 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.2192, allocations: 30.02 kB / 420.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006468/0.2198, allocations: 345.2 kB / 420.9 MB, free: 13.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.22, allocations: 67.66 kB / 420.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.2201, allocations: 107.3 kB / 421 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.2201, allocations: 11.98 kB / 421.1 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.2202, allocations: 55.81 kB / 421.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.2203, allocations: 35.91 kB / 421.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.2203, allocations: 0 / 421.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.2208, allocations: 351.3 kB / 421.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.2208, allocations: 11.92 kB / 421.5 MB, free: 13.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.2208, allocations: 23.94 kB / 421.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.2212, allocations: 355.1 kB / 421.9 MB, free: 12.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2212, allocations: 4 kB / 421.9 MB, free: 12.81 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2212, allocations: 0 / 421.9 MB, free: 12.81 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.2212, allocations: 4 kB / 421.9 MB, free: 12.8 MB / 378.7 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.0006495/0.2219, allocations: 485 kB / 422.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2219, allocations: 8.031 kB / 422.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003018/0.2249, allocations: 464.8 kB / 422.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.225, allocations: 124.6 kB / 422.9 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.225, allocations: 7.938 kB / 422.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.292e-05/0.2251, allocations: 8 kB / 422.9 MB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006493/0.2257, allocations: 302.7 kB / 423.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2257, allocations: 0 / 423.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.2258, allocations: 0 / 423.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.2258, allocations: 4 kB / 423.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.2261, allocations: 245.9 kB / 423.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.2263, allocations: 169.7 kB / 423.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.2265, allocations: 147.9 kB / 423.8 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.2266, allocations: 71.59 kB / 423.9 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2266, allocations: 8 kB / 423.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.2267, allocations: 37.39 kB / 423.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.001e-06/0.2267, allocations: 0 / 423.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.001015/0.2277, allocations: 490.8 kB / 424.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.2277, allocations: 55.41 kB / 424.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.932e-05/0.2278, allocations: 166.8 kB / 424.6 MB, free: 9.914 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2278, allocations: 29.7 kB / 424.6 MB, free: 9.879 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.2278, allocations: 135.3 kB / 424.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.2279, allocations: 79.28 kB / 424.8 MB, free: 9.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.228, allocations: 59.2 kB / 424.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003062/0.2283, allocations: 0.504 MB / 425.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.2284, allocations: 71.95 kB / 425.5 MB, free: 9.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.935e-05/0.2285, allocations: 71.91 kB / 425.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.2287, allocations: 159.5 kB / 425.7 MB, free: 8.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.2287, allocations: 4 kB / 425.7 MB, free: 8.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002989/0.229, allocations: 229.9 kB / 425.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.229, allocations: 12 kB / 425.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.229, allocations: 0 / 425.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.229, allocations: 0 / 425.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.2292, allocations: 51.89 kB / 426 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2293, allocations: 7.375 kB / 426 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2294, allocations: 8 kB / 426 MB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.2294, allocations: 11.98 kB / 426 MB, free: 8.465 MB / 378.7 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 8.422e-05/0.2295, allocations: 172.5 kB / 426.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.2295, allocations: 15.95 kB / 426.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.2299, allocations: 296.8 kB / 426.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2299, allocations: 0 / 426.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2299, allocations: 4 kB / 426.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2299, allocations: 0 / 426.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.2307, allocations: 0.6402 MB / 427.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2307, allocations: 0 / 427.1 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.2308, allocations: 59.89 kB / 427.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2308, allocations: 4 kB / 427.2 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.2309, allocations: 8.156 kB / 427.2 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2309, allocations: 3.938 kB / 427.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.2309, allocations: 4 kB / 427.2 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.2312, allocations: 435.4 kB / 427.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.221e-05/0.2312, allocations: 15.91 kB / 427.7 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.2313, allocations: 7.938 kB / 427.7 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2314, allocations: 11.98 kB / 427.7 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.205e-05/0.2314, allocations: 19.97 kB / 427.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.2314, allocations: 16 kB / 427.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.317e-05/0.2315, allocations: 131.2 kB / 427.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2315, allocations: 0 / 427.8 MB, free: 6.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.2317, allocations: 59.94 kB / 427.9 MB, free: 6.469 MB / 378.7 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.0001846/0.2319, allocations: 135.1 kB / 428 MB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.2322, allocations: 200.1 kB / 428.2 MB, free: 6.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2322, allocations: 0 / 428.2 MB, free: 6.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.2323, allocations: 120.2 kB / 428.3 MB, free: 6.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.2326, allocations: 72.16 kB / 428.4 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.2334, allocations: 342.8 kB / 428.8 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.328e-05/0.2334, allocations: 68 kB / 428.8 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.2336, allocations: 57.44 kB / 428.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.2337, allocations: 44.47 kB / 428.9 MB, free: 5.379 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2337, allocations: 0 / 428.9 MB, free: 5.379 MB / 378.7 MB Notification: Performance of Templates: time 0.005572/0.2393, allocations: 4.487 MB / 433.4 MB, free: 0.9609 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9337800228968263]