Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001156/0.001156, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.00263, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001099/0.001099, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001324/0.002423, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9407/0.9407, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1754/1.116, allocations: 49.48 MB / 220.6 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.631e-05, allocations: 2.312 kB / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2873/0.2873, allocations: 143.2 MB / 365 MB, free: 15.37 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.2888, allocations: 1.552 MB / 366.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.2889, allocations: 0 / 366.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.289, allocations: 34.72 kB / 366.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.29, allocations: 331.9 kB / 367 MB, free: 13.47 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.2902, allocations: 49.62 kB / 367 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.2904, allocations: 83.48 kB / 367.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.2904, allocations: 4 kB / 367.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.2906, allocations: 51.77 kB / 367.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.2907, allocations: 15.98 kB / 367.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2907, allocations: 0 / 367.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007651/0.2914, allocations: 363 kB / 367.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.2914, allocations: 11.94 kB / 367.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.2915, allocations: 19.94 kB / 367.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.292, allocations: 283.4 kB / 367.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.292, allocations: 4 kB / 367.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.292, allocations: 0 / 367.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.292, allocations: 3.938 kB / 367.8 MB, free: 12.61 MB / 330.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.000645/0.2926, allocations: 449.6 kB / 368.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2927, allocations: 8.031 kB / 368.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/0.2952, allocations: 0.5193 MB / 368.8 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.7e-05/0.2953, allocations: 105.8 kB / 368.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.2953, allocations: 4.375 kB / 368.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.492e-05/0.2954, allocations: 12.5 kB / 368.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.2957, allocations: 269.9 kB / 369.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2957, allocations: 4 kB / 369.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.2958, allocations: 4 kB / 369.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.2958, allocations: 4 kB / 369.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.296, allocations: 147.9 kB / 369.3 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.2964, allocations: 248.1 kB / 369.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.2968, allocations: 135.4 kB / 369.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.016e-05/0.2968, allocations: 38.09 kB / 369.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.2968, allocations: 4 kB / 369.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.2969, allocations: 34.56 kB / 369.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.032e-06/0.2969, allocations: 4 kB / 369.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005911/0.2974, allocations: 260.1 kB / 370 MB, free: 10.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.2975, allocations: 55.31 kB / 370.1 MB, free: 10.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.862e-05/0.2976, allocations: 110.6 kB / 370.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.2976, allocations: 29.7 kB / 370.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.2977, allocations: 95.98 kB / 370.3 MB, free: 9.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.2978, allocations: 59.47 kB / 370.4 MB, free: 9.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.2978, allocations: 41.67 kB / 370.4 MB, free: 9.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.017e-05/0.2979, allocations: 326.8 kB / 370.7 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.298, allocations: 35.92 kB / 370.8 MB, free: 9.496 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.298, allocations: 72.27 kB / 370.8 MB, free: 9.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.2982, allocations: 120.2 kB / 371 MB, free: 9.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2982, allocations: 0 / 371 MB, free: 9.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001671/0.2983, allocations: 141.5 kB / 371.1 MB, free: 9.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2984, allocations: 6.969 kB / 371.1 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2984, allocations: 0 / 371.1 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.2984, allocations: 4.188 kB / 371.1 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.2986, allocations: 57.83 kB / 371.2 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2986, allocations: 3.938 kB / 371.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.2986, allocations: 11.98 kB / 371.2 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.2987, allocations: 8 kB / 371.2 MB, free: 9.047 MB / 330.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.148e-05/0.2987, allocations: 118 kB / 371.3 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.2988, allocations: 19.97 kB / 371.3 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.299, allocations: 173.9 kB / 371.5 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.299, allocations: 0 / 371.5 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.299, allocations: 3.938 kB / 371.5 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.299, allocations: 0 / 371.5 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/0.2994, allocations: 340.5 kB / 371.8 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2994, allocations: 0 / 371.8 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.2996, allocations: 55.95 kB / 371.9 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.2996, allocations: 13.45 kB / 371.9 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2996, allocations: 0 / 371.9 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.2996, allocations: 11.98 kB / 371.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2996, allocations: 0 / 371.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2996, allocations: 0.7031 kB / 371.9 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.2998, allocations: 241.5 kB / 372.1 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.2998, allocations: 3.938 kB / 372.2 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.748e-05/0.2999, allocations: 8 kB / 372.2 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.2999, allocations: 19.97 kB / 372.2 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.2999, allocations: 15.92 kB / 372.2 MB, free: 7.977 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.24e-05/0.3, allocations: 8.859 kB / 372.2 MB, free: 7.965 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3, allocations: 0 / 372.2 MB, free: 7.965 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.3002, allocations: 40 kB / 372.2 MB, free: 7.926 MB / 330.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.0001914/0.3003, allocations: 104.5 kB / 372.3 MB, free: 7.816 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.3005, allocations: 120.7 kB / 372.5 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.3005, allocations: 0 / 372.5 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.619e-05/0.3006, allocations: 68.34 kB / 372.5 MB, free: 7.629 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.3008, allocations: 66.61 kB / 372.6 MB, free: 7.566 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3023, allocations: 273.7 kB / 372.9 MB, free: 7.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.089e-05/0.3023, allocations: 63.84 kB / 372.9 MB, free: 7.188 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.3025, allocations: 66.25 kB / 373 MB, free: 7.125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/0.3026, allocations: 91.34 kB / 373.1 MB, free: 7.035 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3027, allocations: 0 / 373.1 MB, free: 7.035 MB / 330.7 MB Notification: Performance of Templates: time 0.00578/0.3084, allocations: 3.756 MB / 376.8 MB, free: 3.293 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.759267782792449]