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.001094/0.001094, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001113/0.001113, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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 0.9568/0.9568, allocations: 177.1 MB / 206 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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.923e-06/1.923e-06, allocations: 0 / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.861e-05, allocations: 2.312 kB / 274.2 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3196/0.3196, allocations: 142.5 MB / 416.7 MB, free: 1.766 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.3219, allocations: 2.529 MB / 419.2 MB, free: 15.24 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.311e-05/0.3219, allocations: 0 / 419.2 MB, free: 15.24 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.3221, allocations: 23.83 kB / 419.2 MB, free: 15.22 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009961/0.3231, allocations: 350.4 kB / 419.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.3233, allocations: 71.66 kB / 419.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3234, allocations: 107.3 kB / 419.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3235, allocations: 4 kB / 419.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.3236, allocations: 59.81 kB / 419.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.3237, allocations: 23.92 kB / 419.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.3237, allocations: 4 kB / 419.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005729/0.3243, allocations: 359.2 kB / 420.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.3243, allocations: 4 kB / 420.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.3243, allocations: 27.92 kB / 420.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004411/0.3248, allocations: 351.1 kB / 420.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3248, allocations: 4 kB / 420.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3248, allocations: 0 / 420.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3248, allocations: 4 kB / 420.5 MB, free: 13.88 MB / 346.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.0006454/0.3254, allocations: 480.2 kB / 421 MB, free: 13.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.3255, allocations: 12.03 kB / 421 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.3285, allocations: 460.1 kB / 421.5 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.3288, allocations: 168.5 kB / 421.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3288, allocations: 11.94 kB / 421.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.77e-05/0.3288, allocations: 4 kB / 421.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003763/0.3292, allocations: 270 kB / 421.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3292, allocations: 0 / 421.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.3293, allocations: 0 / 421.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3293, allocations: 4 kB / 421.9 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.3295, allocations: 200.4 kB / 422.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006107/0.3301, allocations: 388.9 kB / 422.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003822/0.3305, allocations: 146.1 kB / 422.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.3306, allocations: 51.66 kB / 422.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.3306, allocations: 4 kB / 422.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3306, allocations: 37.39 kB / 422.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.3306, allocations: 0 / 422.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001013/0.3316, allocations: 304.2 kB / 423 MB, free: 11.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.3317, allocations: 51.41 kB / 423.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.3318, allocations: 181.8 kB / 423.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.3318, allocations: 33.7 kB / 423.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.3318, allocations: 146.8 kB / 423.4 MB, free: 10.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.3319, allocations: 67.41 kB / 423.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.332, allocations: 43.34 kB / 423.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3321, allocations: 0.4923 MB / 424 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.953e-05/0.3321, allocations: 43.95 kB / 424.1 MB, free: 10.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.213e-05/0.3322, allocations: 96.45 kB / 424.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.3324, allocations: 142.4 kB / 424.3 MB, free: 9.895 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3324, allocations: 0 / 424.3 MB, free: 9.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002459/0.3327, allocations: 183.8 kB / 424.5 MB, free: 9.711 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3327, allocations: 7.938 kB / 424.5 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3327, allocations: 4.125 kB / 424.5 MB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3327, allocations: 4 kB / 424.5 MB, free: 9.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.3329, allocations: 51.89 kB / 424.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3329, allocations: 0.625 kB / 424.6 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.333, allocations: 15.98 kB / 424.6 MB, free: 9.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.597e-05/0.333, allocations: 4 kB / 424.6 MB, free: 9.625 MB / 346.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 0.0001107/0.3331, allocations: 176.4 kB / 424.8 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.3332, allocations: 19.89 kB / 424.8 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.3335, allocations: 206.2 kB / 425 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3335, allocations: 4 kB / 425 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3335, allocations: 0 / 425 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3335, allocations: 4.562 kB / 425 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006088/0.3341, allocations: 481.9 kB / 425.4 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3341, allocations: 0 / 425.4 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.3343, allocations: 39.97 kB / 425.5 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.3343, allocations: 7.312 kB / 425.5 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3343, allocations: 7.984 kB / 425.5 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3343, allocations: 0 / 425.5 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3343, allocations: 0 / 425.5 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.3346, allocations: 337.9 kB / 425.8 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.3346, allocations: 15.84 kB / 425.8 MB, free: 8.273 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3346, allocations: 8 kB / 425.9 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.3347, allocations: 11.98 kB / 425.9 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.3348, allocations: 7.984 kB / 425.9 MB, free: 8.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.3348, allocations: 11.98 kB / 425.9 MB, free: 8.234 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.427e-05/0.3348, allocations: 139.2 kB / 426 MB, free: 8.098 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3348, allocations: 0 / 426 MB, free: 8.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.3351, allocations: 48 kB / 426.1 MB, free: 8.051 MB / 346.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.0002111/0.3353, allocations: 129.2 kB / 426.2 MB, free: 7.918 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3355, allocations: 139.5 kB / 426.3 MB, free: 7.777 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3355, allocations: 0 / 426.3 MB, free: 7.777 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.769e-05/0.3356, allocations: 83.5 kB / 426.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3359, allocations: 55.5 kB / 426.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.3366, allocations: 278 kB / 426.7 MB, free: 7.336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.3367, allocations: 68 kB / 426.8 MB, free: 7.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.3368, allocations: 65.38 kB / 426.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.337, allocations: 126.1 kB / 427 MB, free: 7.055 MB / 346.7 MB Notification: Performance of SimCode: time 1.153e-06/0.337, allocations: 4 kB / 427 MB, free: 7.051 MB / 346.7 MB Notification: Performance of Templates: time 0.00669/0.3437, allocations: 4.084 MB / 431.1 MB, free: 3.043 MB / 346.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.158383130095899]