Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001165/0.001165, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 206.3 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.1 MB / 222.6 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.442/0.442, allocations: 43.5 MB / 313.5 MB, free: 8.238 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 68.36 kB / 382 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1712, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007316/0.1786, allocations: 4.601 MB / 444.4 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.1831, allocations: 4.069 MB / 448.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1833, allocations: 0 / 448.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.1836, allocations: 47.72 kB / 448.5 MB, free: 5.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002249/0.1859, allocations: 0.657 MB / 449.2 MB, free: 5.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.1863, allocations: 139.6 kB / 449.3 MB, free: 5.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005721/0.1869, allocations: 438.1 kB / 449.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.198e-05/0.187, allocations: 17.66 kB / 449.8 MB, free: 4.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.1872, allocations: 139.4 kB / 449.9 MB, free: 4.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1875, allocations: 155.4 kB / 450.1 MB, free: 4.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.1875, allocations: 11.94 kB / 450.1 MB, free: 4.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1886, allocations: 435.3 kB / 450.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.478e-05/0.1887, allocations: 47.75 kB / 450.5 MB, free: 3.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1888, allocations: 107.5 kB / 450.6 MB, free: 3.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.1895, allocations: 475 kB / 451.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1895, allocations: 0 / 451.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1896, allocations: 0 / 451.1 MB, free: 3.277 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1896, allocations: 4 kB / 451.1 MB, free: 3.273 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.001246/0.1908, allocations: 0.5892 MB / 451.7 MB, free: 2.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1909, allocations: 12.03 kB / 451.7 MB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.191, allocations: 28.66 kB / 451.7 MB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.1913, allocations: 224.1 kB / 452 MB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.1915, allocations: 127.9 kB / 452.1 MB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.453e-05/0.1915, allocations: 24.31 kB / 452.1 MB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.1921, allocations: 335.6 kB / 452.4 MB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1921, allocations: 0 / 452.4 MB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.1921, allocations: 8 kB / 452.4 MB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.1922, allocations: 8 kB / 452.5 MB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.193, allocations: 0.7429 MB / 453.2 MB, free: 1.055 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.3102/0.5032, allocations: 1.299 MB / 454.5 MB, free: 49.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004353/0.5036, allocations: 164.3 kB / 454.7 MB, free: 49.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.5037, allocations: 87.17 kB / 454.7 MB, free: 49.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00211/0.5059, allocations: 2.806 MB / 457.5 MB, free: 46.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.5059, allocations: 39.42 kB / 457.6 MB, free: 46.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/0.5059, allocations: 2.906 kB / 457.6 MB, free: 46.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.000329/0.5062, allocations: 116.6 kB / 457.7 MB, free: 46.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.5063, allocations: 51.41 kB / 457.8 MB, free: 46.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.5065, allocations: 222.6 kB / 458 MB, free: 46.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.5065, allocations: 34.42 kB / 458 MB, free: 46.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.5066, allocations: 222.1 kB / 458.2 MB, free: 46.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.5067, allocations: 42.08 kB / 458.3 MB, free: 46.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.753e-05/0.5068, allocations: 83.22 kB / 458.3 MB, free: 46.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.5069, allocations: 329.2 kB / 458.7 MB, free: 45.71 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.507, allocations: 45.83 kB / 458.7 MB, free: 45.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.5072, allocations: 346.6 kB / 459 MB, free: 45.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.5076, allocations: 445.5 kB / 459.5 MB, free: 44.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.5076, allocations: 6.469 kB / 459.5 MB, free: 44.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000533/0.5081, allocations: 378.9 kB / 459.9 MB, free: 44.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.5082, allocations: 13.28 kB / 459.9 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.5082, allocations: 12.84 kB / 459.9 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.245e-05/0.5082, allocations: 15 kB / 459.9 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.5085, allocations: 97.64 kB / 460 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.5085, allocations: 22.39 kB / 460 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.5088, allocations: 53.62 kB / 460.1 MB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.5088, allocations: 30.38 kB / 460.1 MB, free: 44.88 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.0001354/0.5089, allocations: 155.7 kB / 460.2 MB, free: 44.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.509, allocations: 16.5 kB / 460.3 MB, free: 44.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.5093, allocations: 146.8 kB / 460.4 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.5093, allocations: 6.344 kB / 460.4 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5093, allocations: 0 / 460.4 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.5094, allocations: 0.6094 kB / 460.4 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.5098, allocations: 415.1 kB / 460.8 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5098, allocations: 0 / 460.8 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/0.5099, allocations: 14 kB / 460.8 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.5099, allocations: 3.062 kB / 460.8 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.5099, allocations: 3.375 kB / 460.8 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5099, allocations: 6.281 kB / 460.8 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.5099, allocations: 0.5 kB / 460.8 MB, free: 44.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.5101, allocations: 212.4 kB / 461.1 MB, free: 44.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.5102, allocations: 96.73 kB / 461.1 MB, free: 44.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.5103, allocations: 6.688 kB / 461.2 MB, free: 44.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.5104, allocations: 11.17 kB / 461.2 MB, free: 44.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.5104, allocations: 16.28 kB / 461.2 MB, free: 44.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.5105, allocations: 2.5 kB / 461.2 MB, free: 44.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.5106, allocations: 156 kB / 461.3 MB, free: 44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5106, allocations: 0 / 461.3 MB, free: 44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004943/0.5111, allocations: 89.47 kB / 461.4 MB, free: 44 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.0004208/0.5115, allocations: 163.8 kB / 461.6 MB, free: 43.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.5118, allocations: 164.6 kB / 461.7 MB, free: 43.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5118, allocations: 0.9375 kB / 461.7 MB, free: 43.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.878e-05/0.5119, allocations: 29.16 kB / 461.8 MB, free: 43.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.5124, allocations: 45.56 kB / 461.8 MB, free: 43.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.5135, allocations: 0.6049 MB / 462.4 MB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.5137, allocations: 0.7288 MB / 463.2 MB, free: 42.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.5139, allocations: 52.39 kB / 463.2 MB, free: 42.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/0.514, allocations: 22.78 kB / 463.2 MB, free: 42.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.514, allocations: 0 / 463.2 MB, free: 42.87 MB / 382.1 MB Notification: Performance of Templates: time 0.007837/0.5218, allocations: 3.025 MB / 466.3 MB, free: 42.6 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches