Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.0008077/0.0008077, allocations: 91.61 kB / 22.18 MB, free: 2.371 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.0008181/0.0008181, allocations: 155.8 kB / 25.44 MB, free: 8.867 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 0.8001/0.8001, allocations: 158.6 MB / 187.2 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 299.8 MB, free: 6.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.91e-05, allocations: 2.281 kB / 299.8 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.008492/0.008511, allocations: 11.81 MB / 311.6 MB, free: 11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.009806, allocations: 1.603 MB / 313.2 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.00994, allocations: 4 kB / 313.2 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.01034, allocations: 166.8 kB / 313.3 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.01072, allocations: 329.8 kB / 313.7 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.01127, allocations: 430.8 kB / 314.1 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005234/0.0118, allocations: 0.8286 MB / 314.9 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.01195, allocations: 76.83 kB / 315 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004689/0.01242, allocations: 0.4946 MB / 315.5 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.01264, allocations: 243.2 kB / 315.7 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.01267, allocations: 31.98 kB / 315.7 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.0128, allocations: 87.81 kB / 315.8 MB, free: 6.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.131e-05/0.01288, allocations: 99.64 kB / 315.9 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.01298, allocations: 143.7 kB / 316.1 MB, free: 6.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.01337, allocations: 498.5 kB / 316.6 MB, free: 5.992 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.01337, allocations: 0 / 316.6 MB, free: 5.992 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01337, allocations: 0 / 316.6 MB, free: 5.992 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.01338, allocations: 0 / 316.6 MB, free: 5.992 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000569/0.01394, allocations: 0.5091 MB / 317.1 MB, free: 5.453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.01398, allocations: 11.98 kB / 317.1 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.01415, allocations: 44.73 kB / 317.1 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.01443, allocations: 225.3 kB / 317.3 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.01445, allocations: 20.88 kB / 317.4 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.01448, allocations: 32.25 kB / 317.4 MB, free: 5.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.01487, allocations: 0.5357 MB / 317.9 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.01489, allocations: 192 / 317.9 MB, free: 4.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.01491, allocations: 20.11 kB / 317.9 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.01492, allocations: 8 kB / 318 MB, free: 4.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.01513, allocations: 181.8 kB / 318.1 MB, free: 4.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.01651, allocations: 1.336 MB / 319.5 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.01667, allocations: 126.3 kB / 319.6 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.01674, allocations: 64.77 kB / 319.7 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/0.01679, allocations: 15.98 kB / 319.7 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.01681, allocations: 42.5 kB / 319.7 MB, free: 2.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.01682, allocations: 0 / 319.7 MB, free: 2.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001037/0.01785, allocations: 0.6458 MB / 320.4 MB, free: 1.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.01788, allocations: 59.41 kB / 320.4 MB, free: 1.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.01804, allocations: 249.8 kB / 320.7 MB, free: 1.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.01806, allocations: 33.7 kB / 320.7 MB, free: 1.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.01815, allocations: 200.2 kB / 320.9 MB, free: 1.359 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.01818, allocations: 79.31 kB / 321 MB, free: 1.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.01824, allocations: 73.64 kB / 321 MB, free: 1.203 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.01832, allocations: 334.8 kB / 321.4 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.0184, allocations: 67.97 kB / 321.4 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.01853, allocations: 191.1 kB / 321.6 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.01876, allocations: 295.1 kB / 321.9 MB, free: 220 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.01876, allocations: 0 / 321.9 MB, free: 220 kB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003099/0.01907, allocations: 318.4 kB / 322.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.01908, allocations: 8 kB / 322.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.01909, allocations: 4 kB / 322.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.145e-05/0.01916, allocations: 28.84 kB / 322.3 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.01933, allocations: 87.83 kB / 322.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006935/0.02003, allocations: 1.264 MB / 323.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.02011, allocations: 8 kB / 323.6 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.02013, allocations: 24.16 kB / 323.6 MB, free: 14.37 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.02023, allocations: 153.7 kB / 323.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.02026, allocations: 27.8 kB / 323.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.02049, allocations: 206 kB / 324 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.02049, allocations: 7.938 kB / 324 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.02049, allocations: 3.984 kB / 324 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002345/0.02072, allocations: 487.8 kB / 324.5 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005838/0.02131, allocations: 0.6029 MB / 325.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02131, allocations: 0 / 325.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.274e-05/0.0214, allocations: 43.92 kB / 325.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.02141, allocations: 4 kB / 325.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.02142, allocations: 11.98 kB / 325.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.02142, allocations: 4 kB / 325.2 MB, free: 12.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.02143, allocations: 8.281 kB / 325.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.02197, allocations: 386.9 kB / 325.6 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.022, allocations: 23.89 kB / 325.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.02202, allocations: 7.984 kB / 325.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.02212, allocations: 15.94 kB / 325.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.408e-05/0.02214, allocations: 27.84 kB / 325.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.02215, allocations: 11.98 kB / 325.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.02225, allocations: 177.2 kB / 325.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02225, allocations: 0 / 325.8 MB, free: 11.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000262/0.02252, allocations: 91.94 kB / 325.9 MB, free: 11.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.medium.T) * 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 (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 Backend phase and start with SimCode phase: time 0.0001823/0.0227, allocations: 147.1 kB / 326.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003196/0.02302, allocations: 295.1 kB / 326.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.02302, allocations: 4.25 kB / 326.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/0.02308, allocations: 67.86 kB / 326.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004106/0.02349, allocations: 114 kB / 326.5 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.02416, allocations: 0.606 MB / 327.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.857e-05/0.02425, allocations: 162.9 kB / 327.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.0243, allocations: 32.44 kB / 327.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0243, allocations: 4 kB / 327.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of Templates: time 0.004501/0.0288, allocations: 4.917 MB / 332.2 MB, free: 5.449 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.575631335377693]