Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009794/0.0009792, allocations: 102.2 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3483/0.3483, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 55.86 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3925, allocations: 60.81 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00555/0.3981, allocations: 4.59 MB / 0.5109 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003319/0.4015, allocations: 4.077 MB / 0.5149 GB, free: 32.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.4016, allocations: 0 / 0.5149 GB, free: 32.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.4019, allocations: 48.44 kB / 0.5149 GB, free: 32.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.4034, allocations: 0.6552 MB / 0.5155 GB, free: 31.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.4037, allocations: 126.8 kB / 0.5157 GB, free: 31.6 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.4042, allocations: 445.3 kB / 0.5161 GB, free: 31.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.545e-05/0.4043, allocations: 18.78 kB / 0.5161 GB, free: 31.42 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.4044, allocations: 140.7 kB / 0.5162 GB, free: 31.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.4046, allocations: 152.7 kB / 0.5164 GB, free: 31.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.4047, allocations: 5.562 kB / 0.5164 GB, free: 31.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007944/0.4055, allocations: 443.7 kB / 0.5168 GB, free: 31.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.082e-05/0.4056, allocations: 42.09 kB / 0.5169 GB, free: 31.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.4057, allocations: 108.2 kB / 0.517 GB, free: 31.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007301/0.4064, allocations: 464 kB / 0.5174 GB, free: 30.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4065, allocations: 0.5312 kB / 0.5174 GB, free: 30.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.4065, allocations: 2.625 kB / 0.5174 GB, free: 30.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.4065, allocations: 0 / 0.5174 GB, free: 30.95 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.0009886/0.4075, allocations: 0.607 MB / 0.518 GB, free: 30.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.4075, allocations: 8.594 kB / 0.518 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.4077, allocations: 26.67 kB / 0.518 GB, free: 30.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.4079, allocations: 221.8 kB / 0.5182 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.775e-05/0.408, allocations: 122.5 kB / 0.5184 GB, free: 30.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.408, allocations: 22.44 kB / 0.5184 GB, free: 30.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.4085, allocations: 331.6 kB / 0.5187 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4085, allocations: 0 / 0.5187 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.4085, allocations: 10.75 kB / 0.5187 GB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.4085, allocations: 8.156 kB / 0.5187 GB, free: 29.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008809/0.4094, allocations: 0.7415 MB / 0.5194 GB, free: 29.77 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.00111/0.4105, allocations: 1.303 MB / 0.5207 GB, free: 28.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.4109, allocations: 154.3 kB / 0.5209 GB, free: 28.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.411, allocations: 92.83 kB / 0.5209 GB, free: 28.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001767/0.4128, allocations: 2.806 MB / 0.5237 GB, free: 25.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.4128, allocations: 44.66 kB / 0.5237 GB, free: 25.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.4128, allocations: 3.938 kB / 0.5237 GB, free: 25.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002697/0.4131, allocations: 116.8 kB / 0.5238 GB, free: 25.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.4131, allocations: 55.41 kB / 0.5239 GB, free: 25.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4133, allocations: 221.6 kB / 0.5241 GB, free: 25.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.4133, allocations: 32.55 kB / 0.5241 GB, free: 25.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/0.4134, allocations: 214.4 kB / 0.5243 GB, free: 24.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.4134, allocations: 44.05 kB / 0.5244 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.4135, allocations: 86.31 kB / 0.5245 GB, free: 24.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.4136, allocations: 328.6 kB / 0.5248 GB, free: 24.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.4137, allocations: 48.19 kB / 0.5248 GB, free: 24.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.4139, allocations: 348 kB / 0.5252 GB, free: 24.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.4142, allocations: 449.3 kB / 0.5256 GB, free: 23.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.4142, allocations: 2.969 kB / 0.5256 GB, free: 23.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004448/0.4146, allocations: 380.9 kB / 0.5259 GB, free: 23.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4147, allocations: 10.22 kB / 0.526 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4147, allocations: 10.19 kB / 0.526 GB, free: 23.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.4147, allocations: 17.44 kB / 0.526 GB, free: 23.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.4149, allocations: 95.17 kB / 0.5261 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.4149, allocations: 25.88 kB / 0.5261 GB, free: 23.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.4152, allocations: 50.94 kB / 0.5261 GB, free: 23.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.4152, allocations: 30.25 kB / 0.5262 GB, free: 23.41 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 0.0001002/0.4153, allocations: 155.6 kB / 0.5263 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.4154, allocations: 20.06 kB / 0.5263 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.4156, allocations: 146.6 kB / 0.5265 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.4157, allocations: 3.938 kB / 0.5265 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4157, allocations: 0 / 0.5265 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4157, allocations: 2.969 kB / 0.5265 GB, free: 23.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003527/0.416, allocations: 413.9 kB / 0.5269 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4161, allocations: 10.17 kB / 0.5269 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/0.4161, allocations: 15.47 kB / 0.5269 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4161, allocations: 0 / 0.5269 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.4161, allocations: 2.938 kB / 0.5269 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4162, allocations: 0 / 0.5269 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4162, allocations: 2.844 kB / 0.5269 GB, free: 22.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.4165, allocations: 0.7855 MB / 0.5277 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.4165, allocations: 93.62 kB / 0.5278 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.4166, allocations: 10.66 kB / 0.5278 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.4167, allocations: 6.875 kB / 0.5278 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.4168, allocations: 13.03 kB / 0.5278 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.4168, allocations: 2.812 kB / 0.5278 GB, free: 21.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.324e-05/0.4169, allocations: 159.6 kB / 0.528 GB, free: 21.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4169, allocations: 4 kB / 0.528 GB, free: 21.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000549/0.4174, allocations: 94.25 kB / 0.5281 GB, free: 21.74 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.0003212/0.4178, allocations: 158.8 kB / 0.5282 GB, free: 21.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.418, allocations: 169.1 kB / 0.5284 GB, free: 21.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.418, allocations: 0 / 0.5284 GB, free: 21.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.4181, allocations: 31.28 kB / 0.5284 GB, free: 21.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.4185, allocations: 41.91 kB / 0.5284 GB, free: 21.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.4194, allocations: 0.725 MB / 0.5291 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.4196, allocations: 0.7259 MB / 0.5299 GB, free: 20.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.4198, allocations: 56.48 kB / 0.5299 GB, free: 20.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.4198, allocations: 21.5 kB / 0.5299 GB, free: 20.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4198, allocations: 0 / 0.5299 GB, free: 20.29 MB / 378.7 MB Notification: Performance of Templates: time 0.005733/0.4256, allocations: 3.07 MB / 0.5329 GB, free: 19.95 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@2/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