Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.00169/0.00169, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 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.002069/0.002069, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.46/1.46, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.225/0.225, allocations: 46.89 MB / 361.1 MB, free: 4.645 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003349/0.003349, allocations: 83.86 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3344, allocations: 65.98 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006241/0.3406, allocations: 4.655 MB / 0.5658 GB, free: 360 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.3453, allocations: 4.033 MB / 0.5697 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/0.3454, allocations: 4 kB / 0.5697 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.3456, allocations: 55.66 kB / 0.5698 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001723/0.3474, allocations: 0.7305 MB / 0.5705 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.3477, allocations: 131.5 kB / 0.5706 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.3482, allocations: 378.1 kB / 0.571 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.3483, allocations: 9.688 kB / 0.571 GB, free: 11 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.3485, allocations: 143.5 kB / 0.5711 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.3487, allocations: 151.5 kB / 0.5713 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.3487, allocations: 8 kB / 0.5713 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009109/0.3497, allocations: 435.5 kB / 0.5717 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.255e-05/0.3497, allocations: 47.75 kB / 0.5717 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.3499, allocations: 111.5 kB / 0.5718 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007137/0.3506, allocations: 477.2 kB / 0.5723 GB, free: 9.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3506, allocations: 0 / 0.5723 GB, free: 9.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3506, allocations: 4 kB / 0.5723 GB, free: 9.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3506, allocations: 0 / 0.5723 GB, free: 9.656 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.001269/0.3519, allocations: 0.6 MB / 0.5729 GB, free: 9.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3519, allocations: 8.031 kB / 0.5729 GB, free: 9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.3521, allocations: 28.84 kB / 0.5729 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.3524, allocations: 224.1 kB / 0.5731 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.3526, allocations: 127.9 kB / 0.5732 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.3526, allocations: 16.38 kB / 0.5733 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.3532, allocations: 331.6 kB / 0.5736 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.3532, allocations: 0 / 0.5736 GB, free: 8.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.3533, allocations: 12 kB / 0.5736 GB, free: 8.188 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.3533, allocations: 8 kB / 0.5736 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/0.3542, allocations: 0.739 MB / 0.5743 GB, free: 7.438 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.001536/0.3557, allocations: 1.304 MB / 0.5756 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000374/0.3561, allocations: 155.8 kB / 0.5757 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.3562, allocations: 81.41 kB / 0.5758 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002784/0.359, allocations: 2.81 MB / 0.5786 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.359, allocations: 42.5 kB / 0.5786 GB, free: 2.383 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.359, allocations: 0 / 0.5786 GB, free: 2.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003158/0.3593, allocations: 125.4 kB / 0.5787 GB, free: 2.254 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.3594, allocations: 55.41 kB / 0.5788 GB, free: 2.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.3596, allocations: 220.7 kB / 0.579 GB, free: 1.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.3596, allocations: 29.7 kB / 0.579 GB, free: 1.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3598, allocations: 227.3 kB / 0.5792 GB, free: 1.703 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.3598, allocations: 43.64 kB / 0.5793 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3599, allocations: 82.08 kB / 0.5794 GB, free: 1.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3601, allocations: 330.8 kB / 0.5797 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.844e-05/0.3602, allocations: 48.84 kB / 0.5797 GB, free: 1.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.3605, allocations: 351.2 kB / 0.58 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004734/0.361, allocations: 440.5 kB / 0.5805 GB, free: 128 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.361, allocations: 4 kB / 0.5805 GB, free: 124 kB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005973/0.3616, allocations: 389.2 kB / 0.5808 GB, free: 15.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3616, allocations: 14.33 kB / 0.5809 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.3616, allocations: 12 kB / 0.5809 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.3616, allocations: 15.94 kB / 0.5809 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.3619, allocations: 96.5 kB / 0.581 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.3619, allocations: 19.92 kB / 0.581 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.3622, allocations: 55.62 kB / 0.581 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.3622, allocations: 28 kB / 0.5811 GB, free: 15.5 MB / 430.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.0001322/0.3623, allocations: 153.5 kB / 0.5812 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.3624, allocations: 23.91 kB / 0.5812 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.3627, allocations: 140.5 kB / 0.5814 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.3627, allocations: 3.938 kB / 0.5814 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3627, allocations: 0 / 0.5814 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3627, allocations: 3.984 kB / 0.5814 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.3632, allocations: 412.9 kB / 0.5818 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3632, allocations: 0 / 0.5818 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.3632, allocations: 12 kB / 0.5818 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3633, allocations: 8.031 kB / 0.5818 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.3633, allocations: 3.938 kB / 0.5818 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3633, allocations: 0 / 0.5818 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.3633, allocations: 8.062 kB / 0.5818 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.3635, allocations: 209.9 kB / 0.582 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-05/0.3636, allocations: 101 kB / 0.5821 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.3636, allocations: 7.891 kB / 0.5821 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.3638, allocations: 4 kB / 0.5821 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.3638, allocations: 7.984 kB / 0.5821 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3638, allocations: 8 kB / 0.5821 GB, free: 14.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.364, allocations: 152.5 kB / 0.5823 GB, free: 14.13 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.364, allocations: 4 kB / 0.5823 GB, free: 14.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005131/0.3645, allocations: 87.94 kB / 0.5824 GB, free: 14.04 MB / 430.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.0002782/0.3647, allocations: 171.1 kB / 0.5825 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002927/0.365, allocations: 160.8 kB / 0.5827 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.365, allocations: 4 kB / 0.5827 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.585e-05/0.3651, allocations: 25.61 kB / 0.5827 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.3655, allocations: 44.53 kB / 0.5828 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009886/0.3665, allocations: 0.5381 MB / 0.5833 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.3669, allocations: 0.7245 MB / 0.584 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.3671, allocations: 63.28 kB / 0.584 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.3671, allocations: 27.44 kB / 0.5841 GB, free: 12.22 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3671, allocations: 0 / 0.5841 GB, free: 12.22 MB / 430.1 MB Notification: Performance of Templates: time 0.007239/0.3744, allocations: 3.241 MB / 0.5872 GB, free: 9 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.165684547740966]