Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 177.8 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.6 MB / 223.7 MB, free: 8.969 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000781/0.0007809, allocations: 86.42 kB / 272.1 MB, free: 8.145 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003539, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3157, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01612/0.3318, allocations: 19.01 MB / 395.6 MB, free: 28.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.3339, allocations: 2.442 MB / 398.1 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.3341, allocations: 4 kB / 398.1 MB, free: 25.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.3347, allocations: 135.2 kB / 398.2 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004682/0.3352, allocations: 314.5 kB / 398.5 MB, free: 25.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.3357, allocations: 259.6 kB / 398.8 MB, free: 25.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007864/0.3365, allocations: 1.289 MB / 400.1 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.3366, allocations: 73.75 kB / 400.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006637/0.3373, allocations: 462.1 kB / 400.6 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.3376, allocations: 286.8 kB / 400.9 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.3377, allocations: 12 kB / 400.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.3378, allocations: 27.98 kB / 400.9 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.647e-05/0.3379, allocations: 71.67 kB / 401 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.3381, allocations: 189 kB / 401.1 MB, free: 22.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.3384, allocations: 416.1 kB / 401.6 MB, free: 22.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.3384, allocations: 7.938 kB / 401.6 MB, free: 22.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3384, allocations: 0 / 401.6 MB, free: 22.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3384, allocations: 0 / 401.6 MB, free: 22.35 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.0007311/0.3391, allocations: 0.5197 MB / 402.1 MB, free: 21.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3392, allocations: 8.031 kB / 402.1 MB, free: 21.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002591/0.3395, allocations: 44.55 kB / 402.1 MB, free: 21.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.3397, allocations: 284.2 kB / 402.4 MB, free: 21.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3398, allocations: 16.94 kB / 402.4 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.3398, allocations: 28.36 kB / 402.5 MB, free: 21.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.3402, allocations: 307.8 kB / 402.8 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3402, allocations: 4 kB / 402.8 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.3403, allocations: 8 kB / 402.8 MB, free: 21.03 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3403, allocations: 12 kB / 402.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.3406, allocations: 189.6 kB / 403 MB, free: 20.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.3419, allocations: 1.44 MB / 404.4 MB, free: 19.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.3421, allocations: 174.6 kB / 404.6 MB, free: 19.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3423, allocations: 88.83 kB / 404.7 MB, free: 19.01 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.3423, allocations: 3.938 kB / 404.7 MB, free: 19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.3423, allocations: 34.56 kB / 404.7 MB, free: 18.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.3423, allocations: 0 / 404.7 MB, free: 18.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.002179/0.3445, allocations: 1.009 MB / 405.7 MB, free: 17.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.3445, allocations: 59.34 kB / 405.8 MB, free: 17.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.3448, allocations: 254.5 kB / 406 MB, free: 17.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3448, allocations: 33.7 kB / 406 MB, free: 17.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.3449, allocations: 180.1 kB / 406.2 MB, free: 17.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.3449, allocations: 90.66 kB / 406.3 MB, free: 17.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.345, allocations: 8 kB / 406.3 MB, free: 17.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.345, allocations: 334.8 kB / 406.6 MB, free: 16.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.3452, allocations: 91.73 kB / 406.7 MB, free: 16.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.3453, allocations: 178.9 kB / 406.9 MB, free: 16.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.3457, allocations: 287.7 kB / 407.2 MB, free: 16.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3457, allocations: 0 / 407.2 MB, free: 16.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006394/0.3463, allocations: 386.6 kB / 407.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3464, allocations: 4 kB / 407.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3464, allocations: 4 kB / 407.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.3467, allocations: 62.05 kB / 407.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.3469, allocations: 67.91 kB / 407.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.3485, allocations: 2.685 MB / 410.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.3487, allocations: 24.03 kB / 410.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.3488, allocations: 16 kB / 410.4 MB, free: 12.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.3489, allocations: 153.7 kB / 410.6 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.3489, allocations: 31.59 kB / 410.6 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.143e-05/0.349, allocations: 38.31 kB / 410.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.349, allocations: 7.984 kB / 410.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.349, allocations: 0 / 410.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004976/0.3495, allocations: 0.5661 MB / 411.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008196/0.3504, allocations: 0.7067 MB / 411.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3504, allocations: 0 / 411.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.3506, allocations: 39.92 kB / 412 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.3508, allocations: 60.69 kB / 412 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.3509, allocations: 8 kB / 412 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008479/0.3517, allocations: 1.386 MB / 413.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3517, allocations: 0 / 413.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.3523, allocations: 468.7 kB / 413.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.3524, allocations: 100.8 kB / 414 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.3524, allocations: 11.94 kB / 414 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.3526, allocations: 27.92 kB / 414 MB, free: 8.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.3527, allocations: 15.98 kB / 414 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3527, allocations: 11.98 kB / 414 MB, free: 8.801 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.3528, allocations: 182 kB / 414.2 MB, free: 8.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3528, allocations: 0 / 414.2 MB, free: 8.621 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.3532, allocations: 88 kB / 414.3 MB, free: 8.535 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001252/0.3533, allocations: 119.3 kB / 414.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006184/0.3539, allocations: 470.6 kB / 414.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.354, allocations: 0 / 414.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.3543, allocations: 239.3 kB / 415.1 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008423/0.3551, allocations: 164.3 kB / 415.3 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.3562, allocations: 0.8568 MB / 416.1 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.3564, allocations: 0.7645 MB / 416.9 MB, free: 5.852 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002675/0.3567, allocations: 50.94 kB / 416.9 MB, free: 5.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.3568, allocations: 27.44 kB / 417 MB, free: 5.777 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3568, allocations: 0 / 417 MB, free: 5.777 MB / 298.7 MB Notification: Performance of Templates: time 0.00831/0.3651, allocations: 5.441 MB / 422.4 MB, free: 396 kB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches