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.001978/0.001978, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002528/0.002528, allocations: 164.5 kB / 25.02 MB, free: 8.941 MB / 18.57 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 1.521/1.521, allocations: 158.6 MB / 186.8 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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 4.198e-06/4.198e-06, allocations: 3.984 kB / 250.3 MB, free: 7.867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.386e-05, allocations: 10.11 kB / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3034/0.3035, allocations: 129.4 MB / 379.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.3049, allocations: 1.363 MB / 381.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.485e-05/0.3049, allocations: 6.406 kB / 381.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.305, allocations: 21.62 kB / 381.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008174/0.3059, allocations: 334.2 kB / 381.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.306, allocations: 54.3 kB / 381.5 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.3061, allocations: 84.16 kB / 381.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.3061, allocations: 10.09 kB / 381.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.3062, allocations: 46.06 kB / 381.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.426e-05/0.3063, allocations: 20.28 kB / 381.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3063, allocations: 3 kB / 381.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.3069, allocations: 343.3 kB / 382 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.3069, allocations: 9.031 kB / 382 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.743e-05/0.3069, allocations: 21.06 kB / 382 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004256/0.3074, allocations: 337.5 kB / 382.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3074, allocations: 0 / 382.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3074, allocations: 0 / 382.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3074, allocations: 1.969 kB / 382.4 MB, free: 12.55 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.000755/0.3081, allocations: 368.4 kB / 382.7 MB, free: 12.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3082, allocations: 14.67 kB / 382.7 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005802/0.314, allocations: 0.4979 MB / 383.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.801e-05/0.314, allocations: 110.6 kB / 383.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.314, allocations: 5.188 kB / 383.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.03e-05/0.3141, allocations: 9.125 kB / 383.4 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.3148, allocations: 303.2 kB / 383.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3148, allocations: 0 / 383.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.3149, allocations: 7.906 kB / 383.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3149, allocations: 1.203 kB / 383.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/0.3156, allocations: 270.5 kB / 383.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008696/0.3165, allocations: 357.6 kB / 384.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009789/0.3174, allocations: 195 kB / 384.5 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.3176, allocations: 64.8 kB / 384.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.3176, allocations: 2.875 kB / 384.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.3177, allocations: 36.62 kB / 384.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.3177, allocations: 0 / 384.6 MB, free: 11.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.001717/0.3194, allocations: 430.3 kB / 385 MB, free: 11.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.3194, allocations: 56.03 kB / 385.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.76e-05/0.3195, allocations: 108.5 kB / 385.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3195, allocations: 25.7 kB / 385.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.688e-05/0.3195, allocations: 104.6 kB / 385.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.3195, allocations: 57.12 kB / 385.3 MB, free: 11.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.3196, allocations: 46.69 kB / 385.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.3197, allocations: 319.2 kB / 385.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.3199, allocations: 79.75 kB / 385.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.3202, allocations: 118.1 kB / 385.9 MB, free: 11 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.3207, allocations: 198.6 kB / 386.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3207, allocations: 4 kB / 386.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006603/0.3214, allocations: 251.6 kB / 386.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3214, allocations: 7.656 kB / 386.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3214, allocations: 3.938 kB / 386.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3214, allocations: 6.938 kB / 386.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.3218, allocations: 52.83 kB / 386.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3218, allocations: 2.25 kB / 386.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.322, allocations: 16.12 kB / 386.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.3221, allocations: 10.16 kB / 386.4 MB, free: 10.91 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 8.215e-05/0.3222, allocations: 120.2 kB / 386.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.3222, allocations: 14.86 kB / 386.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007553/0.323, allocations: 287.3 kB / 386.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.323, allocations: 4.125 kB / 386.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.323, allocations: 0 / 386.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.323, allocations: 0 / 386.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3241, allocations: 0.5094 MB / 387.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3241, allocations: 2.672 kB / 387.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.3245, allocations: 43.08 kB / 387.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.3245, allocations: 2.719 kB / 387.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.3245, allocations: 7.719 kB / 387.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3245, allocations: 2.75 kB / 387.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3245, allocations: 0 / 387.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006317/0.3251, allocations: 345.2 kB / 387.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.3251, allocations: 9.141 kB / 387.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.3252, allocations: 0 / 387.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.3255, allocations: 17.05 kB / 387.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.3255, allocations: 11.83 kB / 387.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.3255, allocations: 13.33 kB / 387.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.041e-05/0.3256, allocations: 87.88 kB / 387.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3256, allocations: 0 / 387.9 MB, free: 10.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004009/0.326, allocations: 45.41 kB / 387.9 MB, free: 10.23 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.0002148/0.3262, allocations: 120.5 kB / 388.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005999/0.3268, allocations: 192 kB / 388.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3268, allocations: 0 / 388.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.3271, allocations: 96.48 kB / 388.3 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.3275, allocations: 54.66 kB / 388.4 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/0.3283, allocations: 274 kB / 388.7 MB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.877e-05/0.3283, allocations: 80.92 kB / 388.7 MB, free: 9.898 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002713/0.3286, allocations: 54.3 kB / 388.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3288, allocations: 40.31 kB / 388.8 MB, free: 9.848 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.3288, allocations: 0 / 388.8 MB, free: 9.848 MB / 330.7 MB Notification: Performance of Templates: time 0.006163/0.3349, allocations: 3.261 MB / 392.1 MB, free: 9.082 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.750808996031992]