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.001053/0.001053, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.001085/0.001085, allocations: 169.3 kB / 25.33 MB, free: 8.543 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.8805/0.8805, allocations: 158.6 MB / 187.2 MB, free: 2.945 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.252e-06/1.252e-06, allocations: 0 / 251.1 MB, free: 7.469 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.444e-05, allocations: 2.312 kB / 251.1 MB, free: 7.465 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.004826/0.00484, allocations: 5.917 MB / 257 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008383/0.005679, allocations: 0.724 MB / 257.7 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.005796, allocations: 7.938 kB / 257.7 MB, free: 0.7695 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.006067, allocations: 99.36 kB / 257.8 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.006468, allocations: 333.9 kB / 258.2 MB, free: 352 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.006991, allocations: 387.2 kB / 258.5 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.007631, allocations: 0.8636 MB / 259.4 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.007756, allocations: 72.88 kB / 259.5 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004697/0.008226, allocations: 470.9 kB / 259.9 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.008478, allocations: 239.2 kB / 260.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.008516, allocations: 28 kB / 260.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.008626, allocations: 59.84 kB / 260.3 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/0.008703, allocations: 103.7 kB / 260.4 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.008811, allocations: 135.7 kB / 260.5 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.009094, allocations: 299.1 kB / 260.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.009096, allocations: 0 / 260.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009097, allocations: 0 / 260.8 MB, free: 13.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.009103, allocations: 4 kB / 260.8 MB, free: 13.71 MB / 250.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.0005207/0.009624, allocations: 0.5935 MB / 261.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.009656, allocations: 11.98 kB / 261.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.009856, allocations: 92.38 kB / 261.5 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.01009, allocations: 236.1 kB / 261.7 MB, free: 12.72 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.01011, allocations: 16.88 kB / 261.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.01015, allocations: 32.38 kB / 261.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.0105, allocations: 0.4942 MB / 262.3 MB, free: 12.08 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.01052, allocations: 4.188 kB / 262.3 MB, free: 12.08 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.01054, allocations: 16.12 kB / 262.3 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.01055, allocations: 4 kB / 262.3 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.01072, allocations: 134.8 kB / 262.4 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.01189, allocations: 1.697 MB / 264.1 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.01203, allocations: 107.1 kB / 264.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.0121, allocations: 47.89 kB / 264.3 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.01214, allocations: 15.94 kB / 264.3 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.01216, allocations: 37.38 kB / 264.3 MB, free: 9.922 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.01216, allocations: 4 kB / 264.3 MB, free: 9.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009274/0.01309, allocations: 0.554 MB / 264.9 MB, free: 9.324 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.01311, allocations: 63.39 kB / 264.9 MB, free: 9.25 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.01329, allocations: 292.2 kB / 265.2 MB, free: 8.949 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.01331, allocations: 29.7 kB / 265.2 MB, free: 8.914 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.829e-05/0.01341, allocations: 251 kB / 265.5 MB, free: 8.664 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.01344, allocations: 79.33 kB / 265.6 MB, free: 8.586 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/0.01351, allocations: 75.3 kB / 265.6 MB, free: 8.504 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.01363, allocations: 0.504 MB / 266.1 MB, free: 7.988 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.819e-05/0.01369, allocations: 39.97 kB / 266.2 MB, free: 7.949 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.01383, allocations: 225.9 kB / 266.4 MB, free: 7.656 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.01405, allocations: 286.2 kB / 266.7 MB, free: 7.301 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01405, allocations: 4 kB / 266.7 MB, free: 7.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002964/0.01435, allocations: 289 kB / 267 MB, free: 7.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.01436, allocations: 8 kB / 267 MB, free: 6.996 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01437, allocations: 4 kB / 267 MB, free: 6.992 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.818e-05/0.01443, allocations: 23.67 kB / 267 MB, free: 6.965 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.01461, allocations: 83.84 kB / 267.1 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008061/0.01542, allocations: 1.756 MB / 268.8 MB, free: 5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.01551, allocations: 8 kB / 268.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.01553, allocations: 16 kB / 268.9 MB, free: 4.977 MB / 250.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.0001006/0.01563, allocations: 172.5 kB / 269 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.01567, allocations: 39.73 kB / 269.1 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.01587, allocations: 163.5 kB / 269.2 MB, free: 4.59 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01587, allocations: 7.938 kB / 269.2 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-06/0.01587, allocations: 0 / 269.2 MB, free: 4.582 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002361/0.01611, allocations: 460.1 kB / 269.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/0.0167, allocations: 0.6231 MB / 270.3 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.0167, allocations: 4 kB / 270.3 MB, free: 3.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.0168, allocations: 43.91 kB / 270.4 MB, free: 3.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.0168, allocations: 4 kB / 270.4 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.01681, allocations: 12.28 kB / 270.4 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01681, allocations: 4 kB / 270.4 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.01682, allocations: 7.938 kB / 270.4 MB, free: 3.27 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.01711, allocations: 416.7 kB / 270.8 MB, free: 2.805 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.01714, allocations: 23.84 kB / 270.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.01716, allocations: 12 kB / 270.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.01726, allocations: 8 kB / 270.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.01728, allocations: 23.94 kB / 270.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.0173, allocations: 19.98 kB / 270.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.0174, allocations: 197.2 kB / 271.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0174, allocations: 0 / 271.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.01766, allocations: 91.94 kB / 271.2 MB, free: 2.434 MB / 250.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.0001312/0.0178, allocations: 119.1 kB / 271.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003416/0.01814, allocations: 333 kB / 271.6 MB, free: 1.961 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01814, allocations: 0 / 271.6 MB, free: 1.961 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.704e-05/0.01821, allocations: 71.47 kB / 271.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.01864, allocations: 117.4 kB / 271.8 MB, free: 1.773 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008884/0.01952, allocations: 0.5752 MB / 272.4 MB, free: 1.133 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.01958, allocations: 96.5 kB / 272.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.01971, allocations: 58.97 kB / 272.5 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.01975, allocations: 28.5 kB / 272.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01975, allocations: 0 / 272.5 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of Templates: time 0.006262/0.02601, allocations: 4.544 MB / 277.1 MB, free: 12.43 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8190706009045243]