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.001323/0.001323, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001414/0.001414, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2224/0.2224, allocations: 46.96 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.001986/0.001986, allocations: 67.89 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2709, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006172/0.277, allocations: 4.306 MB / 0.5661 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.2815, allocations: 3.593 MB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.594e-05/0.2816, allocations: 0 / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.2819, allocations: 59.59 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.2835, allocations: 0.7383 MB / 0.5703 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.2839, allocations: 139.2 kB / 0.5705 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.2844, allocations: 382 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.2844, allocations: 5.812 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002106/0.2846, allocations: 151.4 kB / 0.571 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.2849, allocations: 151.5 kB / 0.5711 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.2849, allocations: 8 kB / 0.5711 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007444/0.2857, allocations: 391.5 kB / 0.5715 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.2857, allocations: 43.75 kB / 0.5716 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.2859, allocations: 99.58 kB / 0.5717 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007066/0.2866, allocations: 453 kB / 0.5721 GB, free: 9.656 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2866, allocations: 4 kB / 0.5721 GB, free: 9.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2866, allocations: 0 / 0.5721 GB, free: 9.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2866, allocations: 4 kB / 0.5721 GB, free: 9.648 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.001179/0.2878, allocations: 0.5246 MB / 0.5726 GB, free: 9.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2878, allocations: 12.02 kB / 0.5726 GB, free: 9.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.288, allocations: 28.84 kB / 0.5726 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.2883, allocations: 174.2 kB / 0.5728 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.2885, allocations: 234.7 kB / 0.573 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.2885, allocations: 16.38 kB / 0.573 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.2892, allocations: 493 kB / 0.5735 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2892, allocations: 0 / 0.5735 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.2892, allocations: 12 kB / 0.5735 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.2892, allocations: 8 kB / 0.5735 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009048/0.2901, allocations: 0.7156 MB / 0.5742 GB, free: 7.281 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.0014/0.2915, allocations: 1.05 MB / 0.5753 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.2919, allocations: 143.8 kB / 0.5754 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.292, allocations: 85.41 kB / 0.5755 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/0.2936, allocations: 0.7232 MB / 0.5762 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2937, allocations: 34.56 kB / 0.5762 GB, free: 5.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.2937, allocations: 0 / 0.5762 GB, free: 5.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002961/0.294, allocations: 125.4 kB / 0.5763 GB, free: 5.027 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.294, allocations: 63.28 kB / 0.5764 GB, free: 4.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.2943, allocations: 235.8 kB / 0.5766 GB, free: 4.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.2943, allocations: 29.69 kB / 0.5767 GB, free: 4.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.2944, allocations: 227.4 kB / 0.5769 GB, free: 4.453 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.2945, allocations: 47.67 kB / 0.5769 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.2946, allocations: 86.03 kB / 0.577 GB, free: 4.316 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2947, allocations: 326.8 kB / 0.5773 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.054e-05/0.2948, allocations: 48.83 kB / 0.5774 GB, free: 3.938 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.2952, allocations: 343.2 kB / 0.5777 GB, free: 3.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.2957, allocations: 444.6 kB / 0.5781 GB, free: 2.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.2957, allocations: 4 kB / 0.5781 GB, free: 2.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006016/0.2963, allocations: 377.2 kB / 0.5785 GB, free: 2.496 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.2963, allocations: 12 kB / 0.5785 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.2964, allocations: 8 kB / 0.5785 GB, free: 2.477 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.2964, allocations: 16.75 kB / 0.5785 GB, free: 2.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.2966, allocations: 99.77 kB / 0.5786 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.912e-05/0.2967, allocations: 31.86 kB / 0.5786 GB, free: 2.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.2969, allocations: 51.62 kB / 0.5787 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.297, allocations: 31.94 kB / 0.5787 GB, free: 2.25 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.0001349/0.2971, allocations: 149.6 kB / 0.5789 GB, free: 2.094 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.2971, allocations: 27.84 kB / 0.5789 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.2974, allocations: 144.9 kB / 0.579 GB, free: 1.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.2974, allocations: 4 kB / 0.579 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.2974, allocations: 7.938 kB / 0.579 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2974, allocations: 0 / 0.579 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.2979, allocations: 348.5 kB / 0.5794 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.2979, allocations: 4 kB / 0.5794 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.298, allocations: 11.98 kB / 0.5794 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.298, allocations: 12.03 kB / 0.5794 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.298, allocations: 4 kB / 0.5794 GB, free: 1.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.298, allocations: 4 kB / 0.5794 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.298, allocations: 0 / 0.5794 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.2982, allocations: 205.9 kB / 0.5796 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.2983, allocations: 19.84 kB / 0.5796 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.2983, allocations: 3.938 kB / 0.5796 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.2985, allocations: 11.98 kB / 0.5796 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.906e-05/0.2985, allocations: 7.984 kB / 0.5796 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.2985, allocations: 4 kB / 0.5796 GB, free: 1.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.2986, allocations: 160.5 kB / 0.5798 GB, free: 1.047 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2986, allocations: 0 / 0.5798 GB, free: 1.047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004895/0.2991, allocations: 91.83 kB / 0.5799 GB, free: 0.957 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.0002652/0.2994, allocations: 163.2 kB / 0.58 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.2997, allocations: 164.7 kB / 0.5802 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2997, allocations: 0 / 0.5802 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.2997, allocations: 25.61 kB / 0.5802 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.3002, allocations: 59.11 kB / 0.5803 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009259/0.3011, allocations: 0.5283 MB / 0.5808 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.3012, allocations: 112.5 kB / 0.5809 GB, free: 15.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.3014, allocations: 46.84 kB / 0.5809 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.3014, allocations: 27.42 kB / 0.581 GB, free: 15.78 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3014, allocations: 7.938 kB / 0.581 GB, free: 15.77 MB / 430.1 MB Notification: Performance of Templates: time 0.007416/0.3088, allocations: 3.495 MB / 0.5844 GB, free: 12.32 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 gbode -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: 4.873916361000738]