Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001325/0.001325, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 242.5 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2051/0.2051, allocations: 44.17 MB / 336.8 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 61.34 kB / 408.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09716/0.09871, allocations: 60.83 MB / 469.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03568/0.1344, allocations: 28.52 MB / 497.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.1377, allocations: 3.022 MB / 0.489 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.1378, allocations: 8 kB / 0.489 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002965/0.1382, allocations: 51.72 kB / 0.489 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00165/0.1398, allocations: 0.6414 MB / 0.4897 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1402, allocations: 139.4 kB / 0.4898 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.1407, allocations: 434.1 kB / 0.4902 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.491e-05/0.1408, allocations: 17.67 kB / 0.4902 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2259/0.3667, allocations: 14.43 MB / 0.5043 GB, free: 24.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003941/0.3672, allocations: 158 kB / 0.5045 GB, free: 24.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.3672, allocations: 5.875 kB / 0.5045 GB, free: 24.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008562/0.3758, allocations: 3.428 MB / 0.5078 GB, free: 23.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3759, allocations: 46.38 kB / 0.5079 GB, free: 23.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.3762, allocations: 106.3 kB / 0.508 GB, free: 23.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008482/0.377, allocations: 323 kB / 0.5083 GB, free: 23.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.377, allocations: 0 / 0.5083 GB, free: 23.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3771, allocations: 1.25 kB / 0.5083 GB, free: 23.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3771, allocations: 0 / 0.5083 GB, free: 23.4 MB / 382.1 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.001294/0.3784, allocations: 0.6015 MB / 0.5089 GB, free: 23.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3784, allocations: 9.375 kB / 0.5089 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.3786, allocations: 28.42 kB / 0.5089 GB, free: 23.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3788, allocations: 228.6 kB / 0.5091 GB, free: 22.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-05/0.3789, allocations: 123.2 kB / 0.5092 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.379, allocations: 21.97 kB / 0.5093 GB, free: 22.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.3795, allocations: 329.1 kB / 0.5096 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.3795, allocations: 2.234 kB / 0.5096 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.3795, allocations: 10.59 kB / 0.5096 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.3796, allocations: 7.281 kB / 0.5096 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009334/0.3805, allocations: 0.7385 MB / 0.5103 GB, free: 22.58 MB / 382.1 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.001214/0.3817, allocations: 1.299 MB / 0.5116 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.3821, allocations: 166 kB / 0.5117 GB, free: 21.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.3822, allocations: 89.38 kB / 0.5118 GB, free: 21.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/0.3841, allocations: 2.812 MB / 0.5146 GB, free: 18.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.3842, allocations: 36.3 kB / 0.5146 GB, free: 18.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3842, allocations: 0 / 0.5146 GB, free: 18.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002823/0.3845, allocations: 125 kB / 0.5147 GB, free: 18.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.3845, allocations: 54.22 kB / 0.5148 GB, free: 18.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.3847, allocations: 220.9 kB / 0.515 GB, free: 18.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.3847, allocations: 26.83 kB / 0.515 GB, free: 18.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.3848, allocations: 218.9 kB / 0.5152 GB, free: 18.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.3848, allocations: 46.02 kB / 0.5153 GB, free: 18.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/0.3849, allocations: 88.8 kB / 0.5154 GB, free: 18.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.385, allocations: 328.8 kB / 0.5157 GB, free: 17.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.3851, allocations: 48.17 kB / 0.5157 GB, free: 17.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.3853, allocations: 342.2 kB / 0.516 GB, free: 17.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.3856, allocations: 447.5 kB / 0.5165 GB, free: 17.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.3857, allocations: 2.594 kB / 0.5165 GB, free: 17.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005281/0.3862, allocations: 379.1 kB / 0.5168 GB, free: 16.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.3862, allocations: 9.219 kB / 0.5168 GB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.3862, allocations: 12.23 kB / 0.5169 GB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.3863, allocations: 18.66 kB / 0.5169 GB, free: 16.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.3865, allocations: 103 kB / 0.517 GB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.157e-05/0.3865, allocations: 20.12 kB / 0.517 GB, free: 16.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.3868, allocations: 54.41 kB / 0.517 GB, free: 16.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.3869, allocations: 30.12 kB / 0.5171 GB, free: 16.96 MB / 382.1 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 0.0001006/0.387, allocations: 151.2 kB / 0.5172 GB, free: 16.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.694e-05/0.387, allocations: 20.38 kB / 0.5172 GB, free: 16.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002668/0.3873, allocations: 147.1 kB / 0.5174 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.3873, allocations: 7.906 kB / 0.5174 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3873, allocations: 0 / 0.5174 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3873, allocations: 0.7031 kB / 0.5174 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.3877, allocations: 418.4 kB / 0.5178 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.3877, allocations: 5.344 kB / 0.5178 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.938e-05/0.3878, allocations: 16.73 kB / 0.5178 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3878, allocations: 1.156 kB / 0.5178 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.3878, allocations: 1.531 kB / 0.5178 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3878, allocations: 2.531 kB / 0.5178 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3878, allocations: 1.781 kB / 0.5178 GB, free: 16.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.388, allocations: 203.6 kB / 0.518 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.3881, allocations: 102.3 kB / 0.5181 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.3881, allocations: 7.547 kB / 0.5181 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3883, allocations: 5.312 kB / 0.5181 GB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.3883, allocations: 15.97 kB / 0.5181 GB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3883, allocations: 4.766 kB / 0.5181 GB, free: 16.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.3884, allocations: 154.2 kB / 0.5183 GB, free: 16.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3884, allocations: 0 / 0.5183 GB, free: 16.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005215/0.389, allocations: 90.31 kB / 0.5184 GB, free: 16.07 MB / 382.1 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.0003216/0.3893, allocations: 166 kB / 0.5185 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.3896, allocations: 171.3 kB / 0.5187 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3896, allocations: 0 / 0.5187 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.3896, allocations: 24.88 kB / 0.5187 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.3901, allocations: 50.56 kB / 0.5188 GB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.3912, allocations: 0.622 MB / 0.5194 GB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3914, allocations: 0.7251 MB / 0.5201 GB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/0.3915, allocations: 31.69 kB / 0.5201 GB, free: 14.93 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3915, allocations: 0 / 0.5201 GB, free: 14.93 MB / 382.1 MB Notification: Performance of Templates: time 0.005568/0.3971, allocations: 3.333 MB / 0.5234 GB, free: 14.58 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches