Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2228/0.2228, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 71.89 kB / 0.4974 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.369, allocations: 66.03 MB / 0.5619 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006615/0.3756, allocations: 4.309 MB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004776/0.3804, allocations: 3.586 MB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.3805, allocations: 4 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.3809, allocations: 55.61 kB / 0.5696 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002731/0.3836, allocations: 0.7422 MB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.384, allocations: 131.2 kB / 0.5705 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007056/0.3847, allocations: 386 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.223e-05/0.3848, allocations: 5.812 kB / 0.5708 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.385, allocations: 147.5 kB / 0.571 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.3853, allocations: 159.4 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.3853, allocations: 8 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009866/0.3863, allocations: 391.5 kB / 0.5715 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3864, allocations: 43.83 kB / 0.5716 GB, free: 10.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3865, allocations: 91.58 kB / 0.5716 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007695/0.3873, allocations: 465 kB / 0.5721 GB, free: 9.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3873, allocations: 0 / 0.5721 GB, free: 9.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3873, allocations: 0 / 0.5721 GB, free: 9.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3873, allocations: 0 / 0.5721 GB, free: 9.629 MB / 414.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.001322/0.3886, allocations: 0.5324 MB / 0.5726 GB, free: 9.066 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3887, allocations: 12.03 kB / 0.5726 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.3888, allocations: 28.84 kB / 0.5726 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.3892, allocations: 170.2 kB / 0.5728 GB, free: 8.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/0.3895, allocations: 222.7 kB / 0.573 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.3895, allocations: 28.36 kB / 0.573 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007226/0.3902, allocations: 493 kB / 0.5735 GB, free: 7.996 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3902, allocations: 4 kB / 0.5735 GB, free: 7.992 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.3903, allocations: 8 kB / 0.5735 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.3903, allocations: 8 kB / 0.5735 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009475/0.3913, allocations: 0.7196 MB / 0.5742 GB, free: 7.254 MB / 414.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.001551/0.3928, allocations: 1.042 MB / 0.5753 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.3932, allocations: 155.8 kB / 0.5754 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.3934, allocations: 81.47 kB / 0.5755 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001649/0.395, allocations: 0.727 MB / 0.5762 GB, free: 5.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3951, allocations: 38.5 kB / 0.5762 GB, free: 5.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.844e-06/0.3951, allocations: 0 / 0.5762 GB, free: 5.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003085/0.3954, allocations: 117.5 kB / 0.5763 GB, free: 5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.3954, allocations: 55.34 kB / 0.5764 GB, free: 4.934 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.3956, allocations: 239.8 kB / 0.5766 GB, free: 4.691 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.3957, allocations: 29.7 kB / 0.5767 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.3958, allocations: 227.4 kB / 0.5769 GB, free: 4.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.3959, allocations: 39.69 kB / 0.5769 GB, free: 4.391 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.396, allocations: 94.03 kB / 0.577 GB, free: 4.293 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3961, allocations: 330.8 kB / 0.5773 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.549e-05/0.3962, allocations: 44.84 kB / 0.5774 GB, free: 3.914 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.3966, allocations: 343.2 kB / 0.5777 GB, free: 3.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.3971, allocations: 448.6 kB / 0.5781 GB, free: 2.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.3971, allocations: 4 kB / 0.5781 GB, free: 2.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006719/0.3978, allocations: 381.7 kB / 0.5785 GB, free: 2.465 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.3978, allocations: 11.98 kB / 0.5785 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3978, allocations: 12 kB / 0.5785 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.3979, allocations: 12 kB / 0.5785 GB, free: 2.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.3981, allocations: 91.84 kB / 0.5786 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.848e-05/0.3982, allocations: 31.8 kB / 0.5786 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.3984, allocations: 55.62 kB / 0.5787 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.3984, allocations: 28 kB / 0.5787 GB, free: 2.227 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.0001363/0.3986, allocations: 153.8 kB / 0.5789 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.3986, allocations: 23.86 kB / 0.5789 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.3989, allocations: 136.5 kB / 0.579 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3989, allocations: 0 / 0.579 GB, free: 1.895 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3989, allocations: 7.938 kB / 0.579 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3989, allocations: 7.922 kB / 0.579 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.3994, allocations: 360.5 kB / 0.5794 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3994, allocations: 0 / 0.5794 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.3995, allocations: 12 kB / 0.5794 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.3995, allocations: 3.938 kB / 0.5794 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.3995, allocations: 4 kB / 0.5794 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.3995, allocations: 0 / 0.5794 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3995, allocations: 0 / 0.5794 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3997, allocations: 214 kB / 0.5796 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.3998, allocations: 19.84 kB / 0.5796 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.3998, allocations: 7.984 kB / 0.5796 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.4, allocations: 0 / 0.5796 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.4, allocations: 11.98 kB / 0.5796 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.4, allocations: 4 kB / 0.5796 GB, free: 1.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001483/0.4002, allocations: 160.6 kB / 0.5798 GB, free: 1.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4002, allocations: 0 / 0.5798 GB, free: 1.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004913/0.4007, allocations: 103.8 kB / 0.5799 GB, free: 0.9258 MB / 414.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.0003242/0.401, allocations: 163.1 kB / 0.58 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.4013, allocations: 162.4 kB / 0.5802 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4013, allocations: 0 / 0.5802 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-05/0.4014, allocations: 19.94 kB / 0.5802 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.4018, allocations: 44.34 kB / 0.5803 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.4029, allocations: 0.5322 MB / 0.5808 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.403, allocations: 112.6 kB / 0.5809 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.4032, allocations: 59.2 kB / 0.5809 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.4033, allocations: 23.44 kB / 0.581 GB, free: 15.75 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4033, allocations: 3.938 kB / 0.581 GB, free: 15.75 MB / 430.1 MB Notification: Performance of Templates: time 0.008077/0.4113, allocations: 3.502 MB / 0.5844 GB, free: 12.3 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.156757807999384]