Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 177.9 kB / 17.41 MB, free: 4.258 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.7 MB / 243.9 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008084/0.0008085, allocations: 91.83 kB / 295.1 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3056/0.3056, allocations: 44.32 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003587, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 61.89 MB / 0.5127 GB, free: 38.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.003787/0.3274, allocations: 4.587 MB / 0.5172 GB, free: 34.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.3316, allocations: 6.879 MB / 0.5239 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3317, allocations: 2.812 kB / 0.5239 GB, free: 28.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.332, allocations: 51.98 kB / 0.524 GB, free: 28.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.3332, allocations: 0.6003 MB / 0.5246 GB, free: 28.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.3336, allocations: 160.5 kB / 0.5247 GB, free: 27.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.334, allocations: 438 kB / 0.5251 GB, free: 27.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.334, allocations: 10.34 kB / 0.5252 GB, free: 27.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.3342, allocations: 154.2 kB / 0.5253 GB, free: 27.74 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.3344, allocations: 126.7 kB / 0.5254 GB, free: 27.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.3344, allocations: 12.66 kB / 0.5254 GB, free: 27.69 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006146/0.335, allocations: 339.4 kB / 0.5258 GB, free: 27.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.3351, allocations: 47.73 kB / 0.5258 GB, free: 27.56 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3352, allocations: 129.9 kB / 0.5259 GB, free: 27.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005515/0.3358, allocations: 423 kB / 0.5263 GB, free: 27.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3358, allocations: 3.938 kB / 0.5263 GB, free: 27.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3358, allocations: 3 kB / 0.5263 GB, free: 27.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3358, allocations: 0 / 0.5263 GB, free: 27.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000774/0.3366, allocations: 0.5244 MB / 0.5268 GB, free: 26.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3366, allocations: 14.19 kB / 0.5269 GB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.3368, allocations: 27.52 kB / 0.5269 GB, free: 26.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.337, allocations: 224.4 kB / 0.5271 GB, free: 26.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.035e-05/0.3371, allocations: 125 kB / 0.5272 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.3371, allocations: 18.19 kB / 0.5272 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.3375, allocations: 331.6 kB / 0.5276 GB, free: 26.33 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3375, allocations: 0 / 0.5276 GB, free: 26.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.3375, allocations: 11.25 kB / 0.5276 GB, free: 26.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.3376, allocations: 12.28 kB / 0.5276 GB, free: 26.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.3381, allocations: 0.7355 MB / 0.5283 GB, free: 26.19 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009412/0.3391, allocations: 1.248 MB / 0.5295 GB, free: 25.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.3394, allocations: 146.5 kB / 0.5297 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.456e-05/0.3395, allocations: 74.72 kB / 0.5297 GB, free: 25.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001461/0.3409, allocations: 2.66 MB / 0.5323 GB, free: 22.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.539e-05/0.341, allocations: 33.89 kB / 0.5324 GB, free: 22.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.341, allocations: 0 / 0.5324 GB, free: 22.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005382/0.3415, allocations: 225.8 kB / 0.5326 GB, free: 21.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.3416, allocations: 55.34 kB / 0.5326 GB, free: 21.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3417, allocations: 208.6 kB / 0.5328 GB, free: 21.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3417, allocations: 28.73 kB / 0.5329 GB, free: 21.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.3418, allocations: 214.1 kB / 0.5331 GB, free: 21.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.3418, allocations: 48.61 kB / 0.5331 GB, free: 21.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/0.3419, allocations: 6.938 kB / 0.5331 GB, free: 21.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.3419, allocations: 332.2 kB / 0.5334 GB, free: 21.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.342, allocations: 51.2 kB / 0.5335 GB, free: 21.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.3421, allocations: 332.5 kB / 0.5338 GB, free: 20.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.3424, allocations: 415.6 kB / 0.5342 GB, free: 20.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3424, allocations: 3.031 kB / 0.5342 GB, free: 20.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004132/0.3428, allocations: 378.1 kB / 0.5346 GB, free: 20.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3429, allocations: 9.031 kB / 0.5346 GB, free: 20.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3429, allocations: 8.656 kB / 0.5346 GB, free: 20.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.3429, allocations: 14.72 kB / 0.5346 GB, free: 20.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.3432, allocations: 109.4 kB / 0.5347 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.3432, allocations: 20.58 kB / 0.5347 GB, free: 20.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.3434, allocations: 30.92 kB / 0.5347 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.3435, allocations: 28.47 kB / 0.5348 GB, free: 20.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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 9.555e-05/0.3436, allocations: 148.7 kB / 0.5349 GB, free: 19.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.3436, allocations: 18.81 kB / 0.5349 GB, free: 19.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.3439, allocations: 158.5 kB / 0.5351 GB, free: 19.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.3439, allocations: 5.875 kB / 0.5351 GB, free: 19.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.3439, allocations: 0 / 0.5351 GB, free: 19.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3439, allocations: 0 / 0.5351 GB, free: 19.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.3443, allocations: 440.7 kB / 0.5355 GB, free: 19.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3443, allocations: 0 / 0.5355 GB, free: 19.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3445, allocations: 31.05 kB / 0.5355 GB, free: 19.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3445, allocations: 2.812 kB / 0.5355 GB, free: 19.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.3445, allocations: 3.375 kB / 0.5355 GB, free: 19.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3445, allocations: 2.875 kB / 0.5355 GB, free: 19.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3445, allocations: 3.938 kB / 0.5355 GB, free: 19.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000157/0.3447, allocations: 214.5 kB / 0.5357 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.3448, allocations: 114.9 kB / 0.5359 GB, free: 19.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.3448, allocations: 2.75 kB / 0.5359 GB, free: 19.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.345, allocations: 13.38 kB / 0.5359 GB, free: 19.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.345, allocations: 5.938 kB / 0.5359 GB, free: 19.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.345, allocations: 9.469 kB / 0.5359 GB, free: 19.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.47e-05/0.3451, allocations: 144.5 kB / 0.536 GB, free: 19.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3451, allocations: 0 / 0.536 GB, free: 19.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004053/0.3456, allocations: 104.5 kB / 0.5361 GB, free: 19.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 1 * 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.000244/0.3458, allocations: 169.5 kB / 0.5363 GB, free: 18.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.346, allocations: 176.4 kB / 0.5365 GB, free: 18.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3461, allocations: 0 / 0.5365 GB, free: 18.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.739e-05/0.3461, allocations: 45.88 kB / 0.5365 GB, free: 18.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3465, allocations: 52.8 kB / 0.5365 GB, free: 18.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007193/0.3472, allocations: 0.614 MB / 0.5371 GB, free: 18.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.3474, allocations: 0.7263 MB / 0.5379 GB, free: 17.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.3476, allocations: 61.92 kB / 0.5379 GB, free: 17.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.3477, allocations: 26.91 kB / 0.5379 GB, free: 17.77 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3477, allocations: 0 / 0.5379 GB, free: 17.77 MB / 378.7 MB Notification: Performance of Templates: time 0.005374/0.3531, allocations: 3.308 MB / 0.5412 GB, free: 17.4 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches