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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 113.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 189.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 55.92 kB / 329.3 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1061, allocations: 46.61 MB / 375.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.2372/0.3434, allocations: 12.86 MB / 388.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.3459, allocations: 1.705 MB / 390.4 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002323/0.3461, allocations: 2.281 kB / 390.4 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006108/0.3468, allocations: 179.4 kB / 390.6 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006375/0.3474, allocations: 304.9 kB / 390.9 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.3485, allocations: 417 kB / 391.3 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.3496, allocations: 0.8239 MB / 392.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.3498, allocations: 102.8 kB / 392.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006757/0.3505, allocations: 391.7 kB / 392.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.3509, allocations: 262.7 kB / 392.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.615e-05/0.351, allocations: 27.78 kB / 392.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.3513, allocations: 101.3 kB / 393 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.3514, allocations: 95.39 kB / 393.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.3516, allocations: 180.4 kB / 393.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000684/0.3523, allocations: 474.7 kB / 393.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3523, allocations: 2.203 kB / 393.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3523, allocations: 4 kB / 393.7 MB, free: 3.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3523, allocations: 1 kB / 393.7 MB, free: 3.594 MB / 318.1 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.0008432/0.3532, allocations: 0.5791 MB / 394.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3532, allocations: 9.812 kB / 394.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/0.3536, allocations: 43.58 kB / 394.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.3541, allocations: 297.7 kB / 394.7 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3541, allocations: 18.5 kB / 394.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.3541, allocations: 23.78 kB / 394.7 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.3546, allocations: 325.1 kB / 395 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.3547, allocations: 1.531 kB / 395 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.3547, allocations: 16.03 kB / 395 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.3547, allocations: 5.594 kB / 395 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003167/0.355, allocations: 194.4 kB / 395.2 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.3568, allocations: 1.738 MB / 397 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.357, allocations: 132.6 kB / 397.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3571, allocations: 67.38 kB / 397.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.3573, allocations: 167.5 kB / 397.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.3573, allocations: 36.61 kB / 397.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.3573, allocations: 4 kB / 397.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001756/0.359, allocations: 0.7961 MB / 398.2 MB, free: 116 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.3591, allocations: 52.78 kB / 398.2 MB, free: 52 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.3594, allocations: 282.8 kB / 398.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.3595, allocations: 32.23 kB / 398.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3596, allocations: 192.1 kB / 398.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.3597, allocations: 74.95 kB / 398.8 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.3598, allocations: 68.7 kB / 398.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.36, allocations: 340.6 kB / 399.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3601, allocations: 64.33 kB / 399.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.3604, allocations: 190.4 kB / 399.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.3608, allocations: 289 kB / 399.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3608, allocations: 1.344 kB / 399.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005651/0.3614, allocations: 329.5 kB / 400 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.3614, allocations: 6.812 kB / 400 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3614, allocations: 4.641 kB / 400 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000112/0.3615, allocations: 31.17 kB / 400.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.3619, allocations: 80.84 kB / 400.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.3631, allocations: 1.402 MB / 401.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.3633, allocations: 8.625 kB / 401.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/0.3633, allocations: 18.59 kB / 401.6 MB, free: 13.21 MB / 334.1 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.0001691/0.3635, allocations: 163 kB / 401.7 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.3636, allocations: 28.09 kB / 401.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.364, allocations: 206.2 kB / 402 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.364, allocations: 5.375 kB / 402 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3641, allocations: 2.125 kB / 402 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004161/0.3645, allocations: 482.8 kB / 402.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.3657, allocations: 0.7791 MB / 403.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.3657, allocations: 6.781 kB / 403.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.3659, allocations: 44.81 kB / 403.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3659, allocations: 4.141 kB / 403.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.366, allocations: 12.19 kB / 403.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-06/0.366, allocations: 8.422 kB / 403.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.366, allocations: 1.906 kB / 403.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.3665, allocations: 395.9 kB / 403.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.3666, allocations: 110.4 kB / 403.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.3666, allocations: 13.75 kB / 403.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3669, allocations: 5.047 kB / 403.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.3669, allocations: 18.16 kB / 403.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.367, allocations: 21.56 kB / 403.9 MB, free: 11.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002282/0.3672, allocations: 197.6 kB / 404 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3672, allocations: 3.938 kB / 404.1 MB, free: 11.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005062/0.3677, allocations: 104.5 kB / 404.2 MB, free: 11.23 MB / 334.1 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.0002857/0.368, allocations: 139.6 kB / 404.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005498/0.3686, allocations: 300.3 kB / 404.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3686, allocations: 5.688 kB / 404.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.3687, allocations: 82.31 kB / 404.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009141/0.3696, allocations: 155.2 kB / 404.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.3708, allocations: 0.6476 MB / 405.5 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3712, allocations: 0.7579 MB / 406.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.3713, allocations: 31.27 kB / 406.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3713, allocations: 1.5 kB / 406.3 MB, free: 9.711 MB / 334.1 MB Notification: Performance of Templates: time 0.009939/0.3812, allocations: 5.227 MB / 411.5 MB, free: 7.762 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/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/jenkins1/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) Reference file matches