Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 179.8 kB / 17.41 MB, free: 4.262 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.307/1.307, allocations: 225.7 MB / 243.9 MB, free: 8.449 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.0007916/0.0007917, allocations: 91.58 kB / 295.1 MB, free: 9.477 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.4772/0.4772, allocations: 44.32 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003377, allocations: 8 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3639, allocations: 61.89 MB / 0.5127 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004311/0.3682, allocations: 4.609 MB / 0.5172 GB, free: 34.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004383/0.3727, allocations: 6.115 MB / 0.5232 GB, free: 28.67 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.3729, allocations: 1.5 kB / 0.5232 GB, free: 28.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.3732, allocations: 43.95 kB / 0.5232 GB, free: 28.65 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.375, allocations: 0.6602 MB / 0.5239 GB, free: 28.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.3754, allocations: 126.5 kB / 0.524 GB, free: 28.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006299/0.376, allocations: 443.8 kB / 0.5244 GB, free: 28.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.653e-05/0.3761, allocations: 11.06 kB / 0.5244 GB, free: 28.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002417/0.3764, allocations: 141.3 kB / 0.5246 GB, free: 28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.3767, allocations: 151.3 kB / 0.5247 GB, free: 27.95 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.3767, allocations: 13.05 kB / 0.5247 GB, free: 27.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.3777, allocations: 425.9 kB / 0.5251 GB, free: 27.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/0.3778, allocations: 39.66 kB / 0.5252 GB, free: 27.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.378, allocations: 138 kB / 0.5253 GB, free: 27.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007117/0.3787, allocations: 473.2 kB / 0.5258 GB, free: 27.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.515e-06/0.3787, allocations: 0 / 0.5258 GB, free: 27.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3787, allocations: 0 / 0.5258 GB, free: 27.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.3787, allocations: 0 / 0.5258 GB, free: 27.56 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.0009764/0.3797, allocations: 0.5432 MB / 0.5263 GB, free: 27.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3798, allocations: 11.91 kB / 0.5263 GB, free: 27.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.3799, allocations: 27.12 kB / 0.5263 GB, free: 27.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.3801, allocations: 223.3 kB / 0.5265 GB, free: 26.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.787e-05/0.3802, allocations: 127.5 kB / 0.5267 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.3803, allocations: 23.03 kB / 0.5267 GB, free: 26.72 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.3807, allocations: 330.9 kB / 0.527 GB, free: 26.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3807, allocations: 4 kB / 0.527 GB, free: 26.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.3808, allocations: 9.875 kB / 0.527 GB, free: 26.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/0.3808, allocations: 9.906 kB / 0.527 GB, free: 26.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007705/0.3816, allocations: 0.7345 MB / 0.5277 GB, free: 26.39 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.001207/0.3828, allocations: 1.307 MB / 0.529 GB, free: 25.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.3831, allocations: 156.2 kB / 0.5292 GB, free: 25.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.3832, allocations: 91.97 kB / 0.5293 GB, free: 25.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002057/0.3853, allocations: 2.81 MB / 0.532 GB, free: 22.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3853, allocations: 33.41 kB / 0.532 GB, free: 22.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.713e-06/0.3854, allocations: 0 / 0.532 GB, free: 22.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003277/0.3857, allocations: 120.2 kB / 0.5321 GB, free: 22.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3857, allocations: 55.41 kB / 0.5322 GB, free: 21.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.3859, allocations: 219.6 kB / 0.5324 GB, free: 21.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.386, allocations: 29.7 kB / 0.5324 GB, free: 21.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3861, allocations: 221.5 kB / 0.5326 GB, free: 21.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3861, allocations: 40.2 kB / 0.5327 GB, free: 21.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.3861, allocations: 6.781 kB / 0.5327 GB, free: 21.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.316e-05/0.3862, allocations: 328.5 kB / 0.533 GB, free: 21.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.3863, allocations: 45 kB / 0.533 GB, free: 21.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002301/0.3865, allocations: 353.5 kB / 0.5334 GB, free: 20.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.3868, allocations: 435.7 kB / 0.5338 GB, free: 20.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3868, allocations: 2.781 kB / 0.5338 GB, free: 20.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004263/0.3873, allocations: 380.4 kB / 0.5342 GB, free: 20.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3873, allocations: 9 kB / 0.5342 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.3873, allocations: 11.72 kB / 0.5342 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.3874, allocations: 18.48 kB / 0.5342 GB, free: 20.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.3876, allocations: 102.7 kB / 0.5343 GB, free: 20.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.3876, allocations: 22.19 kB / 0.5343 GB, free: 20.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.3879, allocations: 55.88 kB / 0.5344 GB, free: 20.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.3879, allocations: 29.86 kB / 0.5344 GB, free: 20.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.379e-05/0.388, allocations: 152.8 kB / 0.5345 GB, free: 19.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.388, allocations: 16.44 kB / 0.5346 GB, free: 19.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.3883, allocations: 144.7 kB / 0.5347 GB, free: 19.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.3883, allocations: 3.938 kB / 0.5347 GB, free: 19.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.3883, allocations: 2.781 kB / 0.5347 GB, free: 19.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.3883, allocations: 3.938 kB / 0.5347 GB, free: 19.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003393/0.3887, allocations: 415.1 kB / 0.5351 GB, free: 19.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3887, allocations: 0 / 0.5351 GB, free: 19.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.241e-05/0.3887, allocations: 13.8 kB / 0.5351 GB, free: 19.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3888, allocations: 2.594 kB / 0.5351 GB, free: 19.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.3888, allocations: 2.594 kB / 0.5351 GB, free: 19.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3888, allocations: 0 / 0.5351 GB, free: 19.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3888, allocations: 2.594 kB / 0.5351 GB, free: 19.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.3889, allocations: 205.1 kB / 0.5353 GB, free: 19.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.389, allocations: 112.1 kB / 0.5354 GB, free: 19.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.389, allocations: 8.062 kB / 0.5354 GB, free: 19.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.3892, allocations: 2.969 kB / 0.5354 GB, free: 19.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.3892, allocations: 13.08 kB / 0.5355 GB, free: 19.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3892, allocations: 3.094 kB / 0.5355 GB, free: 19.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.3893, allocations: 160.7 kB / 0.5356 GB, free: 19.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3893, allocations: 3.938 kB / 0.5356 GB, free: 19.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004385/0.3898, allocations: 92.72 kB / 0.5357 GB, free: 19 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0002969/0.3901, allocations: 164.8 kB / 0.5359 GB, free: 18.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.3903, allocations: 163.6 kB / 0.536 GB, free: 18.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3903, allocations: 2 kB / 0.536 GB, free: 18.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.3904, allocations: 26.39 kB / 0.536 GB, free: 18.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.3908, allocations: 52.23 kB / 0.5361 GB, free: 18.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008694/0.3917, allocations: 0.6433 MB / 0.5367 GB, free: 18.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001467/0.3918, allocations: 0.7243 MB / 0.5374 GB, free: 17.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00021/0.392, allocations: 51.3 kB / 0.5375 GB, free: 17.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.3921, allocations: 27.78 kB / 0.5375 GB, free: 17.68 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3921, allocations: 0 / 0.5375 GB, free: 17.68 MB / 378.7 MB Notification: Performance of Templates: time 0.005874/0.398, allocations: 3.019 MB / 0.5405 GB, free: 17.32 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches