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.001751/0.001751, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002098/0.002098, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.455/1.455, allocations: 230.5 MB / 258.1 MB, free: 7.812 MB / 206.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.2279/0.2279, allocations: 46.95 MB / 361.6 MB, free: 3.938 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.002478/0.002478, allocations: 83.86 kB / 0.4974 GB, free: 7.016 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3199, allocations: 66.07 MB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00678/0.3267, allocations: 4.318 MB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004675/0.3313, allocations: 3.586 MB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.3315, allocations: 0 / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.3318, allocations: 63.59 kB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.3339, allocations: 0.7461 MB / 0.5704 GB, free: 11.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.3342, allocations: 134.3 kB / 0.5706 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005687/0.3348, allocations: 374.1 kB / 0.5709 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.515e-05/0.3349, allocations: 13.81 kB / 0.5709 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.3351, allocations: 143.5 kB / 0.5711 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.3353, allocations: 147.4 kB / 0.5712 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.3354, allocations: 12 kB / 0.5712 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009249/0.3363, allocations: 383.5 kB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.27e-05/0.3364, allocations: 39.83 kB / 0.5716 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.3365, allocations: 99.58 kB / 0.5717 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007735/0.3373, allocations: 457 kB / 0.5722 GB, free: 9.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3373, allocations: 0 / 0.5722 GB, free: 9.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.228e-06/0.3373, allocations: 3.984 kB / 0.5722 GB, free: 9.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3373, allocations: 0 / 0.5722 GB, free: 9.465 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.001164/0.3384, allocations: 0.5363 MB / 0.5727 GB, free: 8.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3385, allocations: 8.031 kB / 0.5727 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.3386, allocations: 24.84 kB / 0.5727 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.339, allocations: 170.2 kB / 0.5729 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.3392, allocations: 226.7 kB / 0.5731 GB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.3392, allocations: 28.38 kB / 0.5731 GB, free: 8.375 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.3398, allocations: 493 kB / 0.5736 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3398, allocations: 0 / 0.5736 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.039e-05/0.3399, allocations: 8 kB / 0.5736 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.3399, allocations: 7.984 kB / 0.5736 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008582/0.3408, allocations: 0.7156 MB / 0.5743 GB, free: 7.098 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.001388/0.3421, allocations: 1.05 MB / 0.5753 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.3425, allocations: 158.1 kB / 0.5755 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.3426, allocations: 77.48 kB / 0.5756 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/0.3442, allocations: 0.7232 MB / 0.5763 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3442, allocations: 34.56 kB / 0.5763 GB, free: 4.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.3442, allocations: 0 / 0.5763 GB, free: 4.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003096/0.3446, allocations: 121.4 kB / 0.5764 GB, free: 4.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.3446, allocations: 63.28 kB / 0.5765 GB, free: 4.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.3448, allocations: 233.9 kB / 0.5767 GB, free: 4.535 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.3449, allocations: 25.7 kB / 0.5767 GB, free: 4.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.345, allocations: 231.4 kB / 0.5769 GB, free: 4.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/0.3451, allocations: 51.67 kB / 0.577 GB, free: 4.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.3452, allocations: 82.03 kB / 0.5771 GB, free: 4.137 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3454, allocations: 330.8 kB / 0.5774 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.3454, allocations: 48.84 kB / 0.5774 GB, free: 3.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.3458, allocations: 343.2 kB / 0.5778 GB, free: 3.273 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.3463, allocations: 444.6 kB / 0.5782 GB, free: 2.691 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.3463, allocations: 0 / 0.5782 GB, free: 2.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006104/0.3469, allocations: 385.6 kB / 0.5786 GB, free: 2.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3469, allocations: 8 kB / 0.5786 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.3469, allocations: 16 kB / 0.5786 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.347, allocations: 12 kB / 0.5786 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.3472, allocations: 103.8 kB / 0.5787 GB, free: 2.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.3472, allocations: 19.88 kB / 0.5787 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.3475, allocations: 51.62 kB / 0.5788 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.3475, allocations: 31.98 kB / 0.5788 GB, free: 2.07 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.0001461/0.3477, allocations: 157.9 kB / 0.5789 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.3477, allocations: 19.86 kB / 0.579 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.348, allocations: 141 kB / 0.5791 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.348, allocations: 11.98 kB / 0.5791 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.348, allocations: 3.938 kB / 0.5791 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.348, allocations: 0 / 0.5791 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.3485, allocations: 352.5 kB / 0.5794 GB, free: 1.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3485, allocations: 4 kB / 0.5794 GB, free: 1.324 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-05/0.3486, allocations: 12 kB / 0.5795 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.3486, allocations: 7.938 kB / 0.5795 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.3486, allocations: 0 / 0.5795 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3486, allocations: 0 / 0.5795 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3486, allocations: 7.938 kB / 0.5795 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.3488, allocations: 210 kB / 0.5797 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.3488, allocations: 19.83 kB / 0.5797 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.3489, allocations: 11.89 kB / 0.5797 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.349, allocations: 8 kB / 0.5797 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.3491, allocations: 7.984 kB / 0.5797 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.759e-06/0.3491, allocations: 4 kB / 0.5797 GB, free: 1.016 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.3492, allocations: 156.5 kB / 0.5799 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3492, allocations: 0 / 0.5799 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005103/0.3497, allocations: 83.94 kB / 0.58 GB, free: 0.7812 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.0002727/0.35, allocations: 163.2 kB / 0.5801 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002999/0.3503, allocations: 170 kB / 0.5803 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3503, allocations: 0 / 0.5803 GB, free: 456 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.761e-05/0.3503, allocations: 19.94 kB / 0.5803 GB, free: 436 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3508, allocations: 52.45 kB / 0.5803 GB, free: 384 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.3518, allocations: 0.5693 MB / 0.5809 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.3519, allocations: 116.5 kB / 0.581 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.352, allocations: 31.44 kB / 0.581 GB, free: 15.6 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.352, allocations: 0 / 0.581 GB, free: 15.6 MB / 430.1 MB Notification: Performance of Templates: time 0.006726/0.3587, allocations: 3.446 MB / 0.5844 GB, free: 12.16 MB / 430.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 -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: 7.97627780912444]