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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001631/0.001631, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001952/0.001952, allocations: 164.3 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 177.1 MB / 204.7 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2161/0.2161, allocations: 34.26 MB / 295.4 MB, free: 14.53 MB / 286.1 MB " [Timeout remaining time 180] 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=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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 79.88 kB / 443.2 MB, free: 6.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3045, allocations: 66.06 MB / 0.4973 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007114/0.3116, allocations: 4.329 MB / 0.5015 GB, free: 26.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005004/0.3166, allocations: 3.587 MB / 0.505 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.3168, allocations: 3.938 kB / 0.505 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.3171, allocations: 50.12 kB / 0.5051 GB, free: 24.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002439/0.3196, allocations: 0.7483 MB / 0.5058 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.32, allocations: 131.5 kB / 0.5059 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006056/0.3206, allocations: 369.7 kB / 0.5063 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.645e-05/0.3207, allocations: 15.69 kB / 0.5063 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002614/0.321, allocations: 151.4 kB / 0.5065 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.3213, allocations: 145.5 kB / 0.5066 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.3213, allocations: 8.625 kB / 0.5066 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.3224, allocations: 382.7 kB / 0.507 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.597e-05/0.3225, allocations: 46.08 kB / 0.507 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3226, allocations: 94.94 kB / 0.5071 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009401/0.3236, allocations: 457.6 kB / 0.5075 GB, free: 23.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3236, allocations: 3.281 kB / 0.5075 GB, free: 23.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3236, allocations: 4 kB / 0.5075 GB, free: 23.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3236, allocations: 3.938 kB / 0.5075 GB, free: 23.36 MB / 446.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.001434/0.325, allocations: 0.528 MB / 0.5081 GB, free: 22.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3251, allocations: 9.375 kB / 0.5081 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.3253, allocations: 24.28 kB / 0.5081 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.3257, allocations: 171.5 kB / 0.5083 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.3258, allocations: 226.7 kB / 0.5085 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.3258, allocations: 19.34 kB / 0.5085 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006986/0.3265, allocations: 493.7 kB / 0.509 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3266, allocations: 0 / 0.509 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.201e-05/0.3266, allocations: 13.84 kB / 0.509 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.3266, allocations: 6.156 kB / 0.509 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.3276, allocations: 0.72 MB / 0.5097 GB, free: 22.03 MB / 446.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.001467/0.3291, allocations: 1.052 MB / 0.5107 GB, free: 21.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.3296, allocations: 151 kB / 0.5109 GB, free: 21.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.3297, allocations: 72.91 kB / 0.5109 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002047/0.3318, allocations: 0.732 MB / 0.5116 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.3318, allocations: 37.81 kB / 0.5117 GB, free: 20.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 2.184e-06/0.3318, allocations: 0 / 0.5117 GB, free: 20.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003735/0.3322, allocations: 113.5 kB / 0.5118 GB, free: 20.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.3322, allocations: 62.38 kB / 0.5118 GB, free: 20.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3324, allocations: 236 kB / 0.5121 GB, free: 20.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3325, allocations: 28.89 kB / 0.5121 GB, free: 20.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3326, allocations: 238.2 kB / 0.5123 GB, free: 20.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.3326, allocations: 35.75 kB / 0.5124 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.3327, allocations: 89.69 kB / 0.5124 GB, free: 19.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.3328, allocations: 330.5 kB / 0.5128 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.3329, allocations: 45.42 kB / 0.5128 GB, free: 19.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.3331, allocations: 345.9 kB / 0.5131 GB, free: 19.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.3336, allocations: 441.7 kB / 0.5136 GB, free: 18.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.3336, allocations: 3.219 kB / 0.5136 GB, free: 18.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008389/0.3344, allocations: 387.9 kB / 0.5139 GB, free: 18.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.3345, allocations: 9.281 kB / 0.5139 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.192e-05/0.3345, allocations: 12.05 kB / 0.5139 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.902e-05/0.3346, allocations: 13.41 kB / 0.514 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/0.3351, allocations: 101.6 kB / 0.5141 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.029e-05/0.3351, allocations: 24.44 kB / 0.5141 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.3355, allocations: 53.97 kB / 0.5141 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.3356, allocations: 31.06 kB / 0.5142 GB, free: 18.54 MB / 446.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.0001289/0.3357, allocations: 147.6 kB / 0.5143 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.539e-05/0.3358, allocations: 23.36 kB / 0.5143 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.3362, allocations: 149.5 kB / 0.5145 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.3362, allocations: 3.078 kB / 0.5145 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3362, allocations: 3.938 kB / 0.5145 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3362, allocations: 1.812 kB / 0.5145 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005596/0.3367, allocations: 349.6 kB / 0.5148 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3368, allocations: 0.875 kB / 0.5148 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.3368, allocations: 13.28 kB / 0.5148 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.3369, allocations: 5.156 kB / 0.5148 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3369, allocations: 10.05 kB / 0.5148 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3369, allocations: 2.344 kB / 0.5148 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3369, allocations: 5.156 kB / 0.5148 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.3371, allocations: 202.9 kB / 0.515 GB, free: 17.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.302e-05/0.3372, allocations: 22.38 kB / 0.5151 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.3372, allocations: 10.64 kB / 0.5151 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.3375, allocations: 8.75 kB / 0.5151 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.3375, allocations: 6 kB / 0.5151 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3376, allocations: 5.125 kB / 0.5151 GB, free: 17.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.3378, allocations: 157 kB / 0.5152 GB, free: 17.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3378, allocations: 9.031 kB / 0.5152 GB, free: 17.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009475/0.3387, allocations: 86.69 kB / 0.5153 GB, free: 17.63 MB / 446.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.0003349/0.339, allocations: 163.8 kB / 0.5155 GB, free: 17.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004689/0.3395, allocations: 168.9 kB / 0.5156 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3395, allocations: 0 / 0.5156 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.56e-05/0.3396, allocations: 21.38 kB / 0.5157 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007337/0.3403, allocations: 52.95 kB / 0.5157 GB, free: 17.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3417, allocations: 0.5356 MB / 0.5162 GB, free: 17.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.3418, allocations: 116.1 kB / 0.5163 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000317/0.3421, allocations: 51.81 kB / 0.5164 GB, free: 16.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.3422, allocations: 24.8 kB / 0.5164 GB, free: 16.98 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3422, allocations: 5.375 kB / 0.5164 GB, free: 16.98 MB / 446.1 MB Notification: Performance of Templates: time 0.01181/0.354, allocations: 3.062 MB / 0.5194 GB, free: 16.53 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.033329452038743]