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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 109.5 kB / 17.77 MB, free: 5.293 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.001163/0.001163, allocations: 188 kB / 18.71 MB, free: 4.367 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.439/1.439, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.224/0.224, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 60.09 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/0.5131, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006365/0.5196, allocations: 4.541 MB / 0.5234 GB, free: 344 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006075/0.5257, allocations: 4.012 MB / 0.5273 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.526, allocations: 1.406 kB / 0.5273 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.5264, allocations: 49.7 kB / 0.5273 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.5295, allocations: 0.723 MB / 0.528 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.5299, allocations: 141.5 kB / 0.5282 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.5305, allocations: 366.6 kB / 0.5285 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.371e-05/0.5306, allocations: 9.938 kB / 0.5285 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.5308, allocations: 148.3 kB / 0.5287 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.5311, allocations: 144.4 kB / 0.5288 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.5311, allocations: 10.88 kB / 0.5288 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.5325, allocations: 428.8 kB / 0.5292 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.5326, allocations: 51.78 kB / 0.5293 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.5327, allocations: 105.6 kB / 0.5294 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008719/0.5336, allocations: 465.5 kB / 0.5298 GB, free: 12.01 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.5336, allocations: 0 / 0.5298 GB, free: 12.01 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5336, allocations: 0 / 0.5298 GB, free: 12.01 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.5336, allocations: 1.188 kB / 0.5298 GB, free: 12.01 MB / 398.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.001249/0.5349, allocations: 0.6017 MB / 0.5304 GB, free: 11.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.535, allocations: 9.562 kB / 0.5304 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.5351, allocations: 24.62 kB / 0.5305 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.5355, allocations: 227.7 kB / 0.5307 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.5357, allocations: 127.5 kB / 0.5308 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.5358, allocations: 23.12 kB / 0.5308 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.5363, allocations: 323 kB / 0.5311 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5364, allocations: 0 / 0.5311 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.5364, allocations: 16.5 kB / 0.5311 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.5364, allocations: 10.39 kB / 0.5311 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.5375, allocations: 0.7392 MB / 0.5319 GB, free: 10.49 MB / 398.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.001522/0.539, allocations: 1.297 MB / 0.5331 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.5394, allocations: 157.2 kB / 0.5333 GB, free: 9.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.5396, allocations: 89.83 kB / 0.5334 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00275/0.5424, allocations: 2.818 MB / 0.5361 GB, free: 5.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.5424, allocations: 31.69 kB / 0.5362 GB, free: 5.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.5424, allocations: 1.062 kB / 0.5362 GB, free: 5.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.000342/0.5428, allocations: 118.6 kB / 0.5363 GB, free: 5.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.5428, allocations: 53.56 kB / 0.5363 GB, free: 5.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.5431, allocations: 222.2 kB / 0.5365 GB, free: 5.609 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/0.5431, allocations: 30.81 kB / 0.5366 GB, free: 5.574 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.5433, allocations: 220.8 kB / 0.5368 GB, free: 5.367 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.5433, allocations: 46.78 kB / 0.5368 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5434, allocations: 91.06 kB / 0.5369 GB, free: 5.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5436, allocations: 325.9 kB / 0.5372 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.253e-05/0.5437, allocations: 49.09 kB / 0.5373 GB, free: 4.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.544, allocations: 349 kB / 0.5376 GB, free: 4.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.5445, allocations: 439.5 kB / 0.538 GB, free: 3.988 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.5445, allocations: 2.75 kB / 0.538 GB, free: 3.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005723/0.5451, allocations: 383.1 kB / 0.5384 GB, free: 3.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.5451, allocations: 10.25 kB / 0.5384 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.5451, allocations: 10.59 kB / 0.5384 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/0.5452, allocations: 17.22 kB / 0.5384 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.5455, allocations: 101.3 kB / 0.5385 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.843e-05/0.5455, allocations: 25.77 kB / 0.5385 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.5457, allocations: 51.31 kB / 0.5386 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.5458, allocations: 27.62 kB / 0.5386 GB, free: 3.707 MB / 398.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.0001401/0.5459, allocations: 155.8 kB / 0.5388 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.546, allocations: 18.41 kB / 0.5388 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003139/0.5463, allocations: 144.6 kB / 0.5389 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.5463, allocations: 5 kB / 0.5389 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5463, allocations: 1.125 kB / 0.5389 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5464, allocations: 0 / 0.5389 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.5468, allocations: 411.9 kB / 0.5393 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5469, allocations: 1.219 kB / 0.5393 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.5469, allocations: 14.52 kB / 0.5393 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.5469, allocations: 6.438 kB / 0.5393 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.5469, allocations: 1.156 kB / 0.5393 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.547, allocations: 1.125 kB / 0.5393 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.547, allocations: 2.516 kB / 0.5393 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.5472, allocations: 214.2 kB / 0.5395 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.5473, allocations: 95.52 kB / 0.5396 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.5473, allocations: 14.39 kB / 0.5396 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.5475, allocations: 7.844 kB / 0.5397 GB, free: 2.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.5475, allocations: 15.73 kB / 0.5397 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.5475, allocations: 4.156 kB / 0.5397 GB, free: 2.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.5477, allocations: 152.2 kB / 0.5398 GB, free: 2.57 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5477, allocations: 0 / 0.5398 GB, free: 2.57 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005294/0.5482, allocations: 89.25 kB / 0.5399 GB, free: 2.555 MB / 398.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.0003037/0.5485, allocations: 169.4 kB / 0.5401 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.5489, allocations: 170.9 kB / 0.5402 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5489, allocations: 3.938 kB / 0.5402 GB, free: 2.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.5489, allocations: 27.64 kB / 0.5403 GB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.5494, allocations: 48.05 kB / 0.5403 GB, free: 2.312 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.5505, allocations: 0.5336 MB / 0.5408 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.5509, allocations: 0.7265 MB / 0.5415 GB, free: 1.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.5511, allocations: 50.48 kB / 0.5416 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.123e-05/0.5511, allocations: 31.33 kB / 0.5416 GB, free: 1.172 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5511, allocations: 0 / 0.5416 GB, free: 1.172 MB / 398.1 MB Notification: Performance of Templates: time 0.007615/0.5588, allocations: 3.156 MB / 0.5447 GB, free: 15.55 MB / 414.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches