Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 141.2 kB / 24.89 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8799/0.8799, allocations: 173.4 MB / 201.5 MB, free: 9.195 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 268.4 MB, free: 6.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.977e-05, allocations: 6.25 kB / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2141/0.2141, allocations: 141.6 MB / 410 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.216, allocations: 2.541 MB / 412.6 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.216, allocations: 0 / 412.6 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.2161, allocations: 26.52 kB / 412.6 MB, free: 8.406 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007042/0.2168, allocations: 329.3 kB / 412.9 MB, free: 8.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.217, allocations: 63.67 kB / 413 MB, free: 8.027 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.806e-05/0.2171, allocations: 87.45 kB / 413.1 MB, free: 7.941 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.2171, allocations: 4 kB / 413.1 MB, free: 7.938 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.2172, allocations: 51.77 kB / 413.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.264e-05/0.2173, allocations: 23.92 kB / 413.2 MB, free: 7.863 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.2173, allocations: 4 kB / 413.2 MB, free: 7.859 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.2177, allocations: 343.4 kB / 413.5 MB, free: 7.523 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.2177, allocations: 7.922 kB / 413.5 MB, free: 7.516 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.2177, allocations: 20 kB / 413.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.2181, allocations: 331.2 kB / 413.8 MB, free: 7.172 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2181, allocations: 0 / 413.8 MB, free: 7.172 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2181, allocations: 4 kB / 413.9 MB, free: 7.168 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2181, allocations: 0 / 413.9 MB, free: 7.168 MB / 362.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.0004853/0.2186, allocations: 332.9 kB / 414.2 MB, free: 6.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2186, allocations: 8.922 kB / 414.2 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002514/0.2211, allocations: 0.5201 MB / 414.7 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.072e-05/0.2212, allocations: 113.7 kB / 414.8 MB, free: 6.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2212, allocations: 0.5625 kB / 414.8 MB, free: 6.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/0.2213, allocations: 19.94 kB / 414.8 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.2216, allocations: 258 kB / 415.1 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2216, allocations: 0 / 415.1 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.2216, allocations: 4 kB / 415.1 MB, free: 5.871 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.2216, allocations: 4 kB / 415.1 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.2218, allocations: 154.9 kB / 415.2 MB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.2222, allocations: 264 kB / 415.5 MB, free: 5.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.2225, allocations: 114.5 kB / 415.6 MB, free: 5.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.2226, allocations: 44.83 kB / 415.7 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.2226, allocations: 0 / 415.7 MB, free: 5.277 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.2226, allocations: 42.55 kB / 415.7 MB, free: 5.227 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 8.41e-07/0.2226, allocations: 4 kB / 415.7 MB, free: 5.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005238/0.2231, allocations: 247.4 kB / 415.9 MB, free: 4.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.2232, allocations: 51.41 kB / 416 MB, free: 4.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.183e-05/0.2232, allocations: 114.6 kB / 416.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2232, allocations: 25.7 kB / 416.1 MB, free: 4.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.2233, allocations: 95.97 kB / 416.2 MB, free: 4.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.2233, allocations: 67.47 kB / 416.3 MB, free: 4.594 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.2234, allocations: 41.69 kB / 416.3 MB, free: 4.547 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.2235, allocations: 318.8 kB / 416.6 MB, free: 4.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.536e-05/0.2235, allocations: 31.98 kB / 416.7 MB, free: 4.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.2236, allocations: 79.25 kB / 416.8 MB, free: 4.105 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.2237, allocations: 120.2 kB / 416.9 MB, free: 3.973 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2237, allocations: 0 / 416.9 MB, free: 3.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001646/0.2238, allocations: 144.1 kB / 417 MB, free: 3.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.2239, allocations: 4 kB / 417 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2239, allocations: 4 kB / 417 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2239, allocations: 3.938 kB / 417 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.224, allocations: 52.02 kB / 417.1 MB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.224, allocations: 7.938 kB / 417.1 MB, free: 3.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.185e-05/0.2241, allocations: 11.56 kB / 417.1 MB, free: 3.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.2241, allocations: 11.98 kB / 417.1 MB, free: 3.738 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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 7.257e-05/0.2242, allocations: 117.8 kB / 417.2 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.2242, allocations: 11.98 kB / 417.2 MB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.2245, allocations: 162 kB / 417.4 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2245, allocations: 7.938 kB / 417.4 MB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2245, allocations: 0 / 417.4 MB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2245, allocations: 3.984 kB / 417.4 MB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004115/0.2249, allocations: 350.7 kB / 417.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2249, allocations: 3.938 kB / 417.7 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.225, allocations: 39.91 kB / 417.8 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.225, allocations: 3.984 kB / 417.8 MB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.225, allocations: 11.98 kB / 417.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.225, allocations: 0 / 417.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.225, allocations: 0 / 417.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.2252, allocations: 243.3 kB / 418 MB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.053e-05/0.2252, allocations: 11.89 kB / 418.1 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2252, allocations: 0 / 418.1 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.909e-05/0.2253, allocations: 11.98 kB / 418.1 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.2253, allocations: 11.98 kB / 418.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2253, allocations: 7.984 kB / 418.1 MB, free: 2.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.319e-05/0.2254, allocations: 12.86 kB / 418.1 MB, free: 2.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2254, allocations: 0 / 418.1 MB, free: 2.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.2255, allocations: 40 kB / 418.1 MB, free: 2.641 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.0001616/0.2257, allocations: 112.2 kB / 418.2 MB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.2259, allocations: 113 kB / 418.4 MB, free: 2.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2259, allocations: 0 / 418.4 MB, free: 2.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.2259, allocations: 72.75 kB / 418.4 MB, free: 2.336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.2261, allocations: 51.75 kB / 418.5 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.2267, allocations: 254.2 kB / 418.7 MB, free: 2.012 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.822e-05/0.2268, allocations: 67.84 kB / 418.8 MB, free: 1.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.2269, allocations: 52.06 kB / 418.8 MB, free: 1.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.2271, allocations: 99.33 kB / 418.9 MB, free: 1.781 MB / 362.7 MB Notification: Performance of SimCode: time 7.72e-07/0.2271, allocations: 0 / 418.9 MB, free: 1.781 MB / 362.7 MB Notification: Performance of Templates: time 0.004689/0.2318, allocations: 3.691 MB / 422.6 MB, free: 14.14 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9229522892273962]