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.001896/0.001896, allocations: 99.53 kB / 21.73 MB, free: 2.695 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.001971/0.001971, allocations: 164.4 kB / 25.03 MB, free: 8.926 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.321/1.321, allocations: 158.6 MB / 186.8 MB, free: 2.918 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 1.493e-06/1.493e-06, allocations: 0 / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.938e-05, allocations: 6.312 kB / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3243/0.3244, allocations: 143.1 MB / 393.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3258, allocations: 1.549 MB / 395 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.3258, allocations: 0 / 395 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.326, allocations: 22.39 kB / 395 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007354/0.3267, allocations: 329 kB / 395.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.3268, allocations: 64.09 kB / 395.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 8.833e-05/0.3269, allocations: 81.14 kB / 395.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.11e-05/0.327, allocations: 7.469 kB / 395.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.3271, allocations: 47.05 kB / 395.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.3271, allocations: 25.86 kB / 395.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.3272, allocations: 3 kB / 395.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005485/0.3277, allocations: 334.5 kB / 395.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.3277, allocations: 8.141 kB / 395.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.3277, allocations: 25.44 kB / 395.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.3282, allocations: 338.7 kB / 396.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3282, allocations: 3 kB / 396.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3282, allocations: 2.25 kB / 396.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.3282, allocations: 0 / 396.2 MB, free: 10.02 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.0006677/0.3289, allocations: 452.5 kB / 396.7 MB, free: 9.629 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.3289, allocations: 14.95 kB / 396.7 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006015/0.3349, allocations: 461.4 kB / 397.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.081e-05/0.335, allocations: 111.3 kB / 397.3 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.335, allocations: 10.8 kB / 397.3 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.591e-05/0.3351, allocations: 9.344 kB / 397.3 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/0.3357, allocations: 366.1 kB / 397.6 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3357, allocations: 0 / 397.6 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.395e-05/0.3358, allocations: 2.938 kB / 397.6 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3358, allocations: 0 / 397.6 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000693/0.3365, allocations: 348.1 kB / 398 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008888/0.3374, allocations: 402.8 kB / 398.4 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008144/0.3382, allocations: 193.7 kB / 398.6 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.3383, allocations: 79.56 kB / 398.6 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3384, allocations: 6.406 kB / 398.6 MB, free: 8.891 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.3384, allocations: 33.39 kB / 398.7 MB, free: 8.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.3384, allocations: 0 / 398.7 MB, free: 8.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.00147/0.3399, allocations: 427.7 kB / 399.1 MB, free: 8.738 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.3399, allocations: 54.09 kB / 399.1 MB, free: 8.676 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.679e-05/0.3399, allocations: 159.4 kB / 399.3 MB, free: 8.512 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3399, allocations: 31.58 kB / 399.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.34, allocations: 155.8 kB / 399.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.34, allocations: 58.73 kB / 399.5 MB, free: 8.285 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.3401, allocations: 55.59 kB / 399.6 MB, free: 8.254 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.3402, allocations: 0.4903 MB / 400.1 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.3404, allocations: 84.14 kB / 400.2 MB, free: 7.742 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.3406, allocations: 127.3 kB / 400.3 MB, free: 7.672 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.341, allocations: 219.2 kB / 400.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.341, allocations: 0 / 400.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005453/0.3416, allocations: 255.2 kB / 400.8 MB, free: 7.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3416, allocations: 6 kB / 400.8 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3416, allocations: 6.844 kB / 400.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3416, allocations: 0 / 400.8 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.3419, allocations: 46.44 kB / 400.8 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.342, allocations: 11.75 kB / 400.8 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.3422, allocations: 9.438 kB / 400.8 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.3422, allocations: 16.42 kB / 400.9 MB, free: 7.496 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.99e-05/0.3423, allocations: 162.4 kB / 401 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.3424, allocations: 12.39 kB / 401 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00067/0.343, allocations: 290 kB / 401.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.343, allocations: 3.062 kB / 401.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.343, allocations: 0 / 401.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.343, allocations: 0 / 401.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.3441, allocations: 0.5697 MB / 401.9 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3441, allocations: 0 / 401.9 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.3444, allocations: 43.81 kB / 401.9 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3444, allocations: 2.688 kB / 401.9 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.3444, allocations: 6.984 kB / 401.9 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3444, allocations: 3.469 kB / 401.9 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3444, allocations: 0 / 401.9 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.3449, allocations: 407 kB / 402.3 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.165e-05/0.3449, allocations: 6.328 kB / 402.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.345, allocations: 6.781 kB / 402.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.3452, allocations: 10.23 kB / 402.4 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.3453, allocations: 12.27 kB / 402.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.3453, allocations: 15.36 kB / 402.4 MB, free: 6.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.3453, allocations: 122 kB / 402.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3453, allocations: 0 / 402.5 MB, free: 6.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003275/0.3457, allocations: 45.48 kB / 402.5 MB, free: 6.449 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.0001878/0.3458, allocations: 124.4 kB / 402.7 MB, free: 6.352 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005115/0.3464, allocations: 209 kB / 402.9 MB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3464, allocations: 0 / 402.9 MB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002259/0.3466, allocations: 117.7 kB / 403 MB, free: 6.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.347, allocations: 47.7 kB / 403 MB, free: 6.254 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.3476, allocations: 278.4 kB / 403.3 MB, free: 6.055 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.453e-05/0.3477, allocations: 80.88 kB / 403.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002662/0.3479, allocations: 56.78 kB / 403.4 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.3481, allocations: 41.28 kB / 403.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.3481, allocations: 1.203 kB / 403.5 MB, free: 5.914 MB / 330.7 MB Notification: Performance of Templates: time 0.006133/0.3542, allocations: 3.3 MB / 406.8 MB, free: 4.223 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 -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","/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.58137979300227]