Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001248/0.001248, allocations: 173.9 kB / 16.08 MB, free: 5.727 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.425/1.425, allocations: 205.6 MB / 222.4 MB, free: 8.934 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.0007046/0.0007047, allocations: 94.61 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3209/0.3209, allocations: 43.67 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003156, allocations: 11.98 kB / 432.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.114, allocations: 58.84 MB / 491.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.2338/0.3479, allocations: 35.42 MB / 0.5142 GB, free: 22.37 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.3509, allocations: 5.145 MB / 0.5193 GB, free: 17.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.351, allocations: 2.531 kB / 0.5193 GB, free: 17.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.3513, allocations: 44.58 kB / 0.5193 GB, free: 17.52 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.3527, allocations: 0.6535 MB / 0.5199 GB, free: 17.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.353, allocations: 124.9 kB / 0.5201 GB, free: 17.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.3535, allocations: 443.1 kB / 0.5205 GB, free: 16.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.3535, allocations: 17.55 kB / 0.5205 GB, free: 16.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03557/0.3891, allocations: 14.43 MB / 0.5346 GB, free: 10.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004457/0.3896, allocations: 150.2 kB / 0.5347 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.3896, allocations: 6.031 kB / 0.5347 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007629/0.3973, allocations: 3.415 MB / 0.5381 GB, free: 8.488 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.772e-05/0.3974, allocations: 46.55 kB / 0.5381 GB, free: 8.465 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.3976, allocations: 126.6 kB / 0.5382 GB, free: 8.391 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008492/0.3984, allocations: 473.9 kB / 0.5387 GB, free: 8.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3984, allocations: 0 / 0.5387 GB, free: 8.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3985, allocations: 3 kB / 0.5387 GB, free: 8.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3985, allocations: 0 / 0.5387 GB, free: 8.238 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.0008549/0.3993, allocations: 0.5503 MB / 0.5392 GB, free: 7.777 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3994, allocations: 9.812 kB / 0.5392 GB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.3995, allocations: 25.58 kB / 0.5393 GB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.3997, allocations: 223.1 kB / 0.5395 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.3998, allocations: 124.6 kB / 0.5396 GB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.3999, allocations: 27.75 kB / 0.5396 GB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.4003, allocations: 320.9 kB / 0.5399 GB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4004, allocations: 3.938 kB / 0.5399 GB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.4004, allocations: 13.69 kB / 0.5399 GB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.4004, allocations: 5.812 kB / 0.54 GB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.4011, allocations: 0.7399 MB / 0.5407 GB, free: 7.09 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.001154/0.4023, allocations: 1.301 MB / 0.5419 GB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.4026, allocations: 158.9 kB / 0.5421 GB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.4028, allocations: 90.97 kB / 0.5422 GB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001792/0.4046, allocations: 2.81 MB / 0.5449 GB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.4046, allocations: 37.12 kB / 0.545 GB, free: 2.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.4046, allocations: 0 / 0.545 GB, free: 2.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002415/0.4048, allocations: 128.5 kB / 0.5451 GB, free: 2.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.061e-05/0.4049, allocations: 54.62 kB / 0.5451 GB, free: 2.641 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.405, allocations: 219.6 kB / 0.5453 GB, free: 2.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.405, allocations: 29.7 kB / 0.5454 GB, free: 2.461 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.424e-05/0.4051, allocations: 219.7 kB / 0.5456 GB, free: 2.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.4051, allocations: 45.44 kB / 0.5456 GB, free: 2.234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-06/0.4052, allocations: 4 kB / 0.5456 GB, free: 2.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.538e-05/0.4052, allocations: 334.9 kB / 0.5459 GB, free: 1.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.4053, allocations: 43.06 kB / 0.546 GB, free: 1.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.4055, allocations: 339.3 kB / 0.5463 GB, free: 1.484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002826/0.4058, allocations: 447.6 kB / 0.5467 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.4058, allocations: 7.25 kB / 0.5467 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004862/0.4063, allocations: 375.5 kB / 0.5471 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4063, allocations: 10.58 kB / 0.5471 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.4063, allocations: 9.375 kB / 0.5471 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.4063, allocations: 20.19 kB / 0.5471 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.4066, allocations: 94.55 kB / 0.5472 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.4066, allocations: 21.73 kB / 0.5473 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.4068, allocations: 54.12 kB / 0.5473 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.4069, allocations: 32.84 kB / 0.5473 GB, free: 0.7656 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 8.836e-05/0.4069, allocations: 154.7 kB / 0.5475 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.407, allocations: 16.62 kB / 0.5475 GB, free: 0.6094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.4073, allocations: 150.5 kB / 0.5476 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.4073, allocations: 7.5 kB / 0.5477 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4073, allocations: 0 / 0.5477 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4073, allocations: 0.6094 kB / 0.5477 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/0.4077, allocations: 408.8 kB / 0.548 GB, free: 16.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4077, allocations: 0.6094 kB / 0.548 GB, free: 16.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.814e-05/0.4078, allocations: 22.36 kB / 0.5481 GB, free: 16.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4078, allocations: 4.094 kB / 0.5481 GB, free: 16.11 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.4078, allocations: 2.969 kB / 0.5481 GB, free: 16.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4078, allocations: 0.6094 kB / 0.5481 GB, free: 16.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4078, allocations: 2.906 kB / 0.5481 GB, free: 16.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.408, allocations: 206.6 kB / 0.5483 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.039e-05/0.4081, allocations: 111.1 kB / 0.5484 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.4082, allocations: 4.281 kB / 0.5484 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.4083, allocations: 8.875 kB / 0.5484 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.4083, allocations: 6.422 kB / 0.5484 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4084, allocations: 4.656 kB / 0.5484 GB, free: 15.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.4085, allocations: 156.6 kB / 0.5486 GB, free: 15.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4085, allocations: 0 / 0.5486 GB, free: 15.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004482/0.409, allocations: 87.38 kB / 0.5486 GB, free: 15.7 MB / 394.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.0003045/0.4093, allocations: 171.5 kB / 0.5488 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.4095, allocations: 164.9 kB / 0.549 GB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4095, allocations: 0 / 0.549 GB, free: 15.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.564e-05/0.4096, allocations: 25.61 kB / 0.549 GB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.41, allocations: 47.67 kB / 0.549 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009599/0.411, allocations: 0.6534 MB / 0.5497 GB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.4113, allocations: 0.728 MB / 0.5504 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.4116, allocations: 58.67 kB / 0.5504 GB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.4116, allocations: 30.41 kB / 0.5505 GB, free: 14.37 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4116, allocations: 0 / 0.5505 GB, free: 14.37 MB / 394.7 MB Notification: Performance of Templates: time 0.006662/0.4183, allocations: 3.017 MB / 0.5534 GB, free: 14.02 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches