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.00249/0.00249, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.002902/0.002902, allocations: 165.3 kB / 24.27 MB, free: 152 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.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.192e-06/1.192e-06, allocations: 0 / 272.3 MB, free: 1.875 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.901e-05, allocations: 2.312 kB / 272.3 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3627/0.3627, allocations: 144.9 MB / 417.2 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.3662, allocations: 2.543 MB / 419.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.3663, allocations: 0 / 419.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.3665, allocations: 26.94 kB / 419.7 MB, free: 14.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.3675, allocations: 344.3 kB / 420.1 MB, free: 13.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.3677, allocations: 67.66 kB / 420.2 MB, free: 13.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.3679, allocations: 107.3 kB / 420.3 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.3679, allocations: 4 kB / 420.3 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3681, allocations: 59.81 kB / 420.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.059e-05/0.3682, allocations: 23.92 kB / 420.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3682, allocations: 11.98 kB / 420.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007553/0.3689, allocations: 347.4 kB / 420.7 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.3689, allocations: 11.92 kB / 420.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.276e-05/0.369, allocations: 31.92 kB / 420.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.3696, allocations: 355 kB / 421.1 MB, free: 12.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3696, allocations: 0 / 421.1 MB, free: 12.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3696, allocations: 0 / 421.1 MB, free: 12.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.3697, allocations: 0 / 421.1 MB, free: 12.78 MB / 378.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.001013/0.3707, allocations: 488 kB / 421.6 MB, free: 12.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3707, allocations: 12.03 kB / 421.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006478/0.3772, allocations: 465.1 kB / 422 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3773, allocations: 120.7 kB / 422.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.3774, allocations: 11.92 kB / 422.2 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.729e-05/0.3774, allocations: 11.94 kB / 422.2 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008375/0.3783, allocations: 363.5 kB / 422.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3783, allocations: 0 / 422.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/0.3783, allocations: 4 kB / 422.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3783, allocations: 0 / 422.5 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008726/0.3792, allocations: 343.8 kB / 422.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.3795, allocations: 169.4 kB / 423 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.38, allocations: 179.3 kB / 423.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.3802, allocations: 91.59 kB / 423.3 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.3802, allocations: 11.98 kB / 423.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.3803, allocations: 37.39 kB / 423.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.3803, allocations: 0 / 423.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.002159/0.3824, allocations: 0.5943 MB / 423.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.3825, allocations: 56.22 kB / 424 MB, free: 9.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.3826, allocations: 165.9 kB / 424.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.3827, allocations: 33.7 kB / 424.2 MB, free: 9.512 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.3827, allocations: 135.3 kB / 424.3 MB, free: 9.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.3829, allocations: 95.22 kB / 424.4 MB, free: 9.281 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.383, allocations: 55.34 kB / 424.5 MB, free: 9.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002725/0.3833, allocations: 0.4961 MB / 425 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.3835, allocations: 104 kB / 425.1 MB, free: 8.609 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.3838, allocations: 107.8 kB / 425.2 MB, free: 8.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.3844, allocations: 234 kB / 425.4 MB, free: 8.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3844, allocations: 4 kB / 425.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007342/0.3851, allocations: 293.4 kB / 425.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3852, allocations: 8 kB / 425.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3852, allocations: 0 / 425.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3852, allocations: 3.984 kB / 425.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.3856, allocations: 47.91 kB / 425.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3856, allocations: 4 kB / 425.7 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.3859, allocations: 12.61 kB / 425.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.3859, allocations: 8 kB / 425.8 MB, free: 7.895 MB / 378.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.0001604/0.3861, allocations: 172.5 kB / 425.9 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.3861, allocations: 19.95 kB / 426 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009471/0.3871, allocations: 368 kB / 426.3 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3871, allocations: 8 kB / 426.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3871, allocations: 0 / 426.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3871, allocations: 0 / 426.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.3887, allocations: 0.6995 MB / 427 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3887, allocations: 0 / 427 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.3891, allocations: 51.95 kB / 427.1 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.3891, allocations: 4.156 kB / 427.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.3891, allocations: 15.94 kB / 427.1 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/0.3892, allocations: 11.92 kB / 427.1 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3892, allocations: 0 / 427.1 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.3901, allocations: 493.3 kB / 427.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.3901, allocations: 15.91 kB / 427.6 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.356e-05/0.3901, allocations: 7.938 kB / 427.6 MB, free: 5.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.3904, allocations: 12 kB / 427.6 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.3905, allocations: 19.95 kB / 427.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.3905, allocations: 16 kB / 427.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.051e-05/0.3906, allocations: 139.2 kB / 427.8 MB, free: 5.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3906, allocations: 0 / 427.8 MB, free: 5.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003642/0.391, allocations: 55.94 kB / 427.8 MB, free: 5.699 MB / 378.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.0002631/0.3912, allocations: 127.1 kB / 428 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007178/0.3919, allocations: 273.7 kB / 428.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3919, allocations: 0 / 428.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.3923, allocations: 151.5 kB / 428.4 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.3928, allocations: 67.84 kB / 428.5 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009323/0.3938, allocations: 363.5 kB / 428.8 MB, free: 4.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.3939, allocations: 94.09 kB / 428.9 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.3942, allocations: 53.45 kB / 429 MB, free: 4.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.3944, allocations: 40.47 kB / 429 MB, free: 4.484 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3944, allocations: 0 / 429 MB, free: 4.484 MB / 378.7 MB Notification: Performance of Templates: time 0.009902/0.4043, allocations: 4.488 MB / 433.5 MB, free: 64 kB / 378.7 MB " [Timeout remaining time 659] 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","/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.983458318980411]