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.001582/0.001582, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001866/0.003448, allocations: 453.8 kB / 10.46 MB, free: 236 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.001225/0.001225, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.002861, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9051/0.9051, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1777/1.083, allocations: 49.49 MB / 220.7 MB, free: 1.367 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 2.926e-06/2.926e-06, allocations: 3.984 kB / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/2.07e-05, allocations: 2.312 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2803/0.2803, allocations: 143.2 MB / 365.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2816, allocations: 1.564 MB / 366.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.805e-05/0.2817, allocations: 0 / 366.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.2818, allocations: 26.78 kB / 366.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006487/0.2824, allocations: 318.9 kB / 367.1 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.2826, allocations: 62.67 kB / 367.2 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.407e-05/0.2827, allocations: 83.47 kB / 367.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.2827, allocations: 0 / 367.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2828, allocations: 47.84 kB / 367.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.2829, allocations: 31.91 kB / 367.3 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.2829, allocations: 0 / 367.3 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.2834, allocations: 359 kB / 367.7 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.2834, allocations: 7.938 kB / 367.7 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.2835, allocations: 12 kB / 367.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.2838, allocations: 287.2 kB / 368 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.448e-05/0.2838, allocations: 0 / 368 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2838, allocations: 4 kB / 368 MB, free: 12.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.2838, allocations: 0 / 368 MB, free: 12.48 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.0006213/0.2845, allocations: 449.6 kB / 368.4 MB, free: 12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2845, allocations: 12.03 kB / 368.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.287, allocations: 0.5115 MB / 368.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.015e-05/0.287, allocations: 109.7 kB / 369 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.287, allocations: 8.375 kB / 369 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.539e-05/0.2871, allocations: 4.562 kB / 369 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003168/0.2874, allocations: 277.9 kB / 369.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.2874, allocations: 0 / 369.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.2875, allocations: 4 kB / 369.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2875, allocations: 0 / 369.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.2877, allocations: 159.9 kB / 369.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004283/0.2881, allocations: 252.1 kB / 369.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.2884, allocations: 123.7 kB / 369.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.2884, allocations: 40.84 kB / 369.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.2884, allocations: 4 kB / 369.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.2885, allocations: 30.56 kB / 369.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.2885, allocations: 4 kB / 369.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005287/0.289, allocations: 263.9 kB / 370.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.289, allocations: 55.31 kB / 370.2 MB, free: 10.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.573e-05/0.2891, allocations: 114.7 kB / 370.3 MB, free: 9.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.2891, allocations: 25.7 kB / 370.4 MB, free: 9.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.131e-05/0.2891, allocations: 95.98 kB / 370.5 MB, free: 9.828 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.2892, allocations: 63.41 kB / 370.5 MB, free: 9.766 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-05/0.2892, allocations: 49.67 kB / 370.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.2893, allocations: 318.8 kB / 370.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.2894, allocations: 31.98 kB / 370.9 MB, free: 9.359 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.2894, allocations: 72.25 kB / 371 MB, free: 9.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.2895, allocations: 124.2 kB / 371.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2895, allocations: 0 / 371.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001593/0.2897, allocations: 144.5 kB / 371.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2897, allocations: 4 kB / 371.3 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2897, allocations: 0 / 371.3 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2897, allocations: 4 kB / 371.3 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.2899, allocations: 61.83 kB / 371.3 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.2899, allocations: 4 kB / 371.3 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.29, allocations: 11.98 kB / 371.3 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.29, allocations: 8 kB / 371.3 MB, free: 8.902 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.407e-05/0.2901, allocations: 117.8 kB / 371.5 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.2901, allocations: 15.98 kB / 371.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002365/0.2904, allocations: 165.9 kB / 371.6 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2904, allocations: 4 kB / 371.6 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.2904, allocations: 3.938 kB / 371.6 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2904, allocations: 0 / 371.6 MB, free: 8.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.2908, allocations: 352.4 kB / 372 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2908, allocations: 0 / 372 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.2909, allocations: 49.58 kB / 372 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.2909, allocations: 11.89 kB / 372 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2909, allocations: 0 / 372 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2909, allocations: 11.98 kB / 372.1 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2909, allocations: 0.7031 kB / 372.1 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2909, allocations: 0 / 372.1 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.2911, allocations: 241.6 kB / 372.3 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.2911, allocations: 7.938 kB / 372.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.2912, allocations: 8 kB / 372.3 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.2912, allocations: 12.16 kB / 372.3 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.2913, allocations: 12 kB / 372.3 MB, free: 7.844 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.394e-05/0.2913, allocations: 16.83 kB / 372.4 MB, free: 7.824 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2913, allocations: 0 / 372.4 MB, free: 7.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000185/0.2915, allocations: 43.94 kB / 372.4 MB, free: 7.781 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.0001647/0.2916, allocations: 108.3 kB / 372.5 MB, free: 7.668 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.2918, allocations: 111.7 kB / 372.6 MB, free: 7.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.2918, allocations: 11.94 kB / 372.6 MB, free: 7.547 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.848e-05/0.2919, allocations: 80.73 kB / 372.7 MB, free: 7.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.2921, allocations: 67.25 kB / 372.8 MB, free: 7.402 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.2935, allocations: 269.9 kB / 373 MB, free: 7.109 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.2936, allocations: 67.86 kB / 373.1 MB, free: 7.023 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001617/0.2937, allocations: 54.33 kB / 373.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.2939, allocations: 103.3 kB / 373.3 MB, free: 6.871 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.2939, allocations: 0 / 373.3 MB, free: 6.871 MB / 330.7 MB Notification: Performance of Templates: time 0.004742/0.2986, allocations: 3.644 MB / 376.9 MB, free: 3.254 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8314008321613073]