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.001793/0.001793, allocations: 69.41 kB / 21.24 MB, free: 0.5547 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.002014/0.002014, allocations: 159.6 kB / 24.5 MB, free: 3.848 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.558/1.558, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.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.2368/0.2368, allocations: 34.28 MB / 295.5 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 179] 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.002105/0.002105, allocations: 63.89 kB / 443.2 MB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3437, allocations: 66.01 MB / 0.4973 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004447/0.3482, allocations: 4.311 MB / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.351, allocations: 3.585 MB / 0.505 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.028e-05/0.3511, allocations: 3.938 kB / 0.505 GB, free: 24.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.3514, allocations: 49.09 kB / 0.505 GB, free: 24.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.3528, allocations: 0.7494 MB / 0.5058 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.3531, allocations: 136.5 kB / 0.5059 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000389/0.3535, allocations: 379.1 kB / 0.5063 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.3535, allocations: 14.42 kB / 0.5063 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.3537, allocations: 146.2 kB / 0.5064 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.3539, allocations: 145 kB / 0.5065 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.3539, allocations: 6.062 kB / 0.5066 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006551/0.3546, allocations: 384 kB / 0.5069 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.3547, allocations: 43.34 kB / 0.507 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.452e-05/0.3548, allocations: 99 kB / 0.5071 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.3553, allocations: 452.4 kB / 0.5075 GB, free: 23.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3553, allocations: 0 / 0.5075 GB, free: 23.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3553, allocations: 3.938 kB / 0.5075 GB, free: 23.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3553, allocations: 0 / 0.5075 GB, free: 23.37 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.0008503/0.3561, allocations: 0.5381 MB / 0.508 GB, free: 22.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.3562, allocations: 9.188 kB / 0.508 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.3563, allocations: 27.81 kB / 0.508 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.3566, allocations: 172.6 kB / 0.5082 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.3567, allocations: 231.1 kB / 0.5084 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3567, allocations: 25.11 kB / 0.5085 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/0.3571, allocations: 497.3 kB / 0.5089 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3572, allocations: 0 / 0.5089 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.3572, allocations: 7.031 kB / 0.5089 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.3572, allocations: 10.22 kB / 0.5089 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.3578, 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.0009102/0.3587, allocations: 1.045 MB / 0.5107 GB, free: 21.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.359, allocations: 148.7 kB / 0.5108 GB, free: 21.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.359, allocations: 82.25 kB / 0.5109 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.3603, allocations: 0.7293 MB / 0.5116 GB, free: 20.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.3603, allocations: 33.75 kB / 0.5116 GB, free: 20.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.3603, allocations: 0 / 0.5116 GB, free: 20.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002309/0.3605, allocations: 121.6 kB / 0.5118 GB, free: 20.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.3605, allocations: 62.34 kB / 0.5118 GB, free: 20.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.3607, allocations: 237.7 kB / 0.512 GB, free: 20.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3607, allocations: 25.7 kB / 0.5121 GB, free: 20.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.3608, allocations: 228.8 kB / 0.5123 GB, free: 20.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.3608, allocations: 47.36 kB / 0.5123 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.3609, allocations: 83.84 kB / 0.5124 GB, free: 19.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.3609, allocations: 331.5 kB / 0.5127 GB, free: 19.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.361, allocations: 50.08 kB / 0.5128 GB, free: 19.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3611, allocations: 342 kB / 0.5131 GB, free: 19.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.3614, allocations: 446.8 kB / 0.5135 GB, free: 18.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3614, allocations: 3.344 kB / 0.5135 GB, free: 18.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004393/0.3618, allocations: 379.2 kB / 0.5139 GB, free: 18.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3618, allocations: 9.938 kB / 0.5139 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.3619, allocations: 13.03 kB / 0.5139 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.3619, allocations: 12.47 kB / 0.5139 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.3622, allocations: 100.2 kB / 0.514 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/0.3622, allocations: 23.92 kB / 0.514 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.3624, allocations: 51.66 kB / 0.5141 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.3624, allocations: 28.94 kB / 0.5141 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 8.488e-05/0.3625, allocations: 153.5 kB / 0.5143 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.3626, allocations: 26.31 kB / 0.5143 GB, free: 18.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.3628, allocations: 139.3 kB / 0.5144 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.3628, allocations: 1.969 kB / 0.5144 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3628, allocations: 4.5 kB / 0.5144 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3628, allocations: 4.656 kB / 0.5144 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.3632, allocations: 358.7 kB / 0.5148 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3632, allocations: 1.125 kB / 0.5148 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.723e-05/0.3632, allocations: 12.8 kB / 0.5148 GB, free: 17.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3632, allocations: 5.031 kB / 0.5148 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3632, allocations: 2.922 kB / 0.5148 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3632, allocations: 1.891 kB / 0.5148 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3632, allocations: 8.75 kB / 0.5148 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.3634, allocations: 207.4 kB / 0.515 GB, free: 17.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.3634, allocations: 25.69 kB / 0.515 GB, free: 17.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.3635, allocations: 15.27 kB / 0.515 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3636, allocations: 8.875 kB / 0.515 GB, free: 17.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.3636, allocations: 6.562 kB / 0.5151 GB, free: 17.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.3636, allocations: 4.922 kB / 0.5151 GB, free: 17.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.3637, allocations: 156.9 kB / 0.5152 GB, free: 17.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3637, allocations: 0 / 0.5152 GB, free: 17.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004801/0.3642, allocations: 91.09 kB / 0.5153 GB, free: 17.62 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.0002298/0.3644, allocations: 160.6 kB / 0.5154 GB, free: 17.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.3647, allocations: 165.8 kB / 0.5156 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3647, allocations: 5.188 kB / 0.5156 GB, free: 17.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.622e-05/0.3648, allocations: 24.08 kB / 0.5156 GB, free: 17.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.3652, allocations: 42.53 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.0008178/0.366, allocations: 0.539 MB / 0.5162 GB, free: 17.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.067e-05/0.3661, allocations: 112.5 kB / 0.5163 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.3662, allocations: 52.25 kB / 0.5164 GB, free: 17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.3663, allocations: 28.8 kB / 0.5164 GB, free: 16.98 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3663, allocations: 0 / 0.5164 GB, free: 16.98 MB / 446.1 MB Notification: Performance of Templates: time 0.006908/0.3732, allocations: 3.061 MB / 0.5194 GB, free: 16.55 MB / 446.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 ida -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.239444112055935]