Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 114.9 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001795/0.001795, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 83.86 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3292, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006698/0.3359, allocations: 4.587 MB / 0.5362 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005479/0.3414, allocations: 4.013 MB / 0.5401 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.3417, allocations: 1.25 kB / 0.5401 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.3421, allocations: 56.64 kB / 0.5402 GB, free: 6.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.3445, allocations: 0.7262 MB / 0.5409 GB, free: 6.016 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.3449, allocations: 139.6 kB / 0.541 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000726/0.3456, allocations: 378.7 kB / 0.5414 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.124e-05/0.3457, allocations: 14.11 kB / 0.5414 GB, free: 5.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.346, allocations: 144.5 kB / 0.5415 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.3464, allocations: 147.2 kB / 0.5416 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.3464, allocations: 9.219 kB / 0.5417 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.3476, allocations: 423.7 kB / 0.5421 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3477, allocations: 47.11 kB / 0.5421 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.3479, allocations: 105 kB / 0.5422 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.349, allocations: 478.8 kB / 0.5427 GB, free: 5.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3491, allocations: 0 / 0.5427 GB, free: 5.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3491, allocations: 0 / 0.5427 GB, free: 5.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.3491, allocations: 0 / 0.5427 GB, free: 5.031 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.001211/0.3503, allocations: 0.6012 MB / 0.5432 GB, free: 4.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3504, allocations: 9.406 kB / 0.5433 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.3505, allocations: 23.62 kB / 0.5433 GB, free: 4.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.3509, allocations: 228.4 kB / 0.5435 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.351, allocations: 127.3 kB / 0.5436 GB, free: 4.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.351, allocations: 27.45 kB / 0.5436 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.3516, allocations: 326.2 kB / 0.544 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.3516, allocations: 5.125 kB / 0.544 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.3516, allocations: 7.281 kB / 0.544 GB, free: 3.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.3517, allocations: 9.5 kB / 0.544 GB, free: 3.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008681/0.3525, allocations: 0.7315 MB / 0.5447 GB, free: 3.523 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.001431/0.354, allocations: 1.305 MB / 0.546 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.3543, allocations: 169.1 kB / 0.5461 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.3545, allocations: 86.36 kB / 0.5462 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002493/0.357, allocations: 2.81 MB / 0.549 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.357, allocations: 35.66 kB / 0.549 GB, free: 14.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 2.886e-06/0.357, allocations: 1.156 kB / 0.549 GB, free: 14.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002867/0.3573, allocations: 119.1 kB / 0.5491 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.3574, allocations: 56.73 kB / 0.5492 GB, free: 14.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.3576, allocations: 211.1 kB / 0.5494 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.3576, allocations: 30.73 kB / 0.5494 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.3578, allocations: 222.2 kB / 0.5496 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.3578, allocations: 41.89 kB / 0.5496 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3579, allocations: 91.09 kB / 0.5497 GB, free: 14.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.358, allocations: 330.8 kB / 0.55 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.3581, allocations: 45.06 kB / 0.5501 GB, free: 13.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.3584, allocations: 340.7 kB / 0.5504 GB, free: 13.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.3589, allocations: 452.1 kB / 0.5508 GB, free: 12.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.3589, allocations: 4 kB / 0.5508 GB, free: 12.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005644/0.3595, allocations: 377 kB / 0.5512 GB, free: 12.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3595, allocations: 14.66 kB / 0.5512 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.3595, allocations: 8.875 kB / 0.5512 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.764e-05/0.3596, allocations: 16 kB / 0.5512 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.3598, allocations: 103.8 kB / 0.5513 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.539e-05/0.3598, allocations: 23.92 kB / 0.5514 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.3601, allocations: 51.44 kB / 0.5514 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.3601, allocations: 28 kB / 0.5514 GB, free: 12.32 MB / 414.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.0001227/0.3602, allocations: 153.5 kB / 0.5516 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.3603, allocations: 23.75 kB / 0.5516 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.3606, allocations: 140.5 kB / 0.5517 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.3606, allocations: 7.938 kB / 0.5518 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3606, allocations: 0 / 0.5518 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.3607, allocations: 96.84 kB / 0.5518 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.3607, allocations: 8 kB / 0.5519 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.3609, allocations: 96 / 0.5519 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.3609, allocations: 15.92 kB / 0.5519 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001625/0.3611, allocations: 148.9 kB / 0.552 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002057/0.3613, allocations: 262.4 kB / 0.5523 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.959e-05/0.3613, allocations: 20 kB / 0.5523 GB, free: 11.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3615, allocations: 152.5 kB / 0.5524 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Backend: time 3.21e-07/0.3615, allocations: 0 / 0.5524 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.3625, allocations: 451.8 kB / 0.5529 GB, free: 10.8 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008207/0.3633, allocations: 0.8464 MB / 0.5537 GB, free: 9.91 MB / 414.1 MB Notification: Performance of Templates: time 0.009335/0.3727, allocations: 5.244 MB / 0.5588 GB, free: 4.684 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches