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.001655/0.001655, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002126/0.002126, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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 1.514/1.514, allocations: 177.2 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.382e-06/1.382e-06, allocations: 0 / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.664e-05, allocations: 2.312 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.287/0.287, allocations: 131.3 MB / 403.6 MB, free: 13.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003128/0.2901, allocations: 2.259 MB / 405.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.398e-05/0.2902, allocations: 0 / 405.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.2903, allocations: 26.92 kB / 405.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000913/0.2912, allocations: 348.3 kB / 406.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.2914, allocations: 63.67 kB / 406.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.2915, allocations: 107.3 kB / 406.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.982e-05/0.2916, allocations: 0 / 406.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.2917, allocations: 67.8 kB / 406.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.82e-05/0.2918, allocations: 27.92 kB / 406.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.2918, allocations: 4 kB / 406.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006929/0.2925, allocations: 347.4 kB / 406.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.059e-05/0.2925, allocations: 11.92 kB / 406.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.2926, allocations: 27.94 kB / 406.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.2932, allocations: 363 kB / 407.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2932, allocations: 0 / 407.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2932, allocations: 0 / 407.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2932, allocations: 0 / 407.2 MB, free: 10.1 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.0009346/0.2941, allocations: 394 kB / 407.6 MB, free: 9.684 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.2941, allocations: 8.031 kB / 407.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006372/0.3005, allocations: 0.501 MB / 408.1 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3007, allocations: 121.8 kB / 408.3 MB, free: 9.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.3007, allocations: 3.938 kB / 408.3 MB, free: 9.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.886e-05/0.3008, allocations: 15.98 kB / 408.3 MB, free: 9.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.3016, allocations: 293.3 kB / 408.6 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3016, allocations: 0 / 408.6 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.588e-05/0.3017, allocations: 7.984 kB / 408.6 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3017, allocations: 4 kB / 408.6 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008788/0.3026, allocations: 271.8 kB / 408.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.3028, allocations: 162.1 kB / 409 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.3033, allocations: 154.7 kB / 409.2 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.3035, allocations: 84.78 kB / 409.2 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.3036, allocations: 4 kB / 409.2 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3036, allocations: 34.56 kB / 409.3 MB, free: 7.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.3036, allocations: 4 kB / 409.3 MB, free: 7.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.002391/0.306, allocations: 0.5825 MB / 409.9 MB, free: 7.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.3061, allocations: 56.22 kB / 409.9 MB, free: 7.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3062, allocations: 113.7 kB / 410 MB, free: 7.184 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.3062, allocations: 29.7 kB / 410.1 MB, free: 7.148 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.373e-05/0.3063, allocations: 84.64 kB / 410.1 MB, free: 7.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3064, allocations: 83.23 kB / 410.2 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.3065, allocations: 45.69 kB / 410.3 MB, free: 6.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3067, allocations: 326.8 kB / 410.6 MB, free: 6.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.307, allocations: 99.94 kB / 410.7 MB, free: 6.504 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.3073, allocations: 107.8 kB / 410.8 MB, free: 6.398 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/0.308, allocations: 232.2 kB / 411 MB, free: 6.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.308, allocations: 0 / 411 MB, free: 6.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008425/0.3089, allocations: 281.4 kB / 411.3 MB, free: 5.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3089, allocations: 8 kB / 411.3 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3089, allocations: 0 / 411.3 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3089, allocations: 0 / 411.3 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.3094, allocations: 64.62 kB / 411.4 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3094, allocations: 0 / 411.4 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.3097, allocations: 15.98 kB / 411.4 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.3097, allocations: 12 kB / 411.4 MB, free: 5.793 MB / 362.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 0.0001419/0.3099, allocations: 125.7 kB / 411.5 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.3099, allocations: 15.95 kB / 411.5 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.311, allocations: 358 kB / 411.9 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.311, allocations: 8 kB / 411.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.311, allocations: 0 / 411.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.311, allocations: 0 / 411.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.3127, allocations: 0.6278 MB / 412.5 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3127, allocations: 4 kB / 412.5 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.3131, allocations: 59.89 kB / 412.6 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.3131, allocations: 4 kB / 412.6 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.3132, allocations: 4 kB / 412.6 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.3132, allocations: 15.86 kB / 412.6 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3132, allocations: 0 / 412.6 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009603/0.3141, allocations: 424.5 kB / 413 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.3142, allocations: 15.91 kB / 413 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.3142, allocations: 7.938 kB / 413 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.3145, allocations: 15.98 kB / 413 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.3146, allocations: 15.97 kB / 413.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.3146, allocations: 19.98 kB / 413.1 MB, free: 4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.109e-05/0.3147, allocations: 87.27 kB / 413.2 MB, free: 3.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3147, allocations: 4 kB / 413.2 MB, free: 3.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003792/0.3151, allocations: 59.94 kB / 413.2 MB, free: 3.852 MB / 362.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.0002648/0.3153, allocations: 123.1 kB / 413.3 MB, free: 3.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007774/0.3161, allocations: 252.3 kB / 413.6 MB, free: 3.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3161, allocations: 0 / 413.6 MB, free: 3.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.3165, allocations: 128.1 kB / 413.7 MB, free: 3.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005673/0.3171, allocations: 65.47 kB / 413.8 MB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009932/0.3181, allocations: 343.3 kB / 414.1 MB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.3182, allocations: 90.09 kB / 414.2 MB, free: 2.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003031/0.3185, allocations: 60.95 kB / 414.3 MB, free: 2.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.3187, allocations: 44.47 kB / 414.3 MB, free: 2.715 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3187, allocations: 0 / 414.3 MB, free: 2.715 MB / 362.7 MB Notification: Performance of Templates: time 0.009785/0.3285, allocations: 4.455 MB / 418.8 MB, free: 14.34 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.867741676978767]