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.001777/0.001777, allocations: 85.5 kB / 20.68 MB, free: 1.035 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.002103/0.002103, allocations: 159.2 kB / 23.95 MB, free: 4.168 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.509/1.509, allocations: 177 MB / 204.1 MB, free: 9.137 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.2744/0.2744, allocations: 34.25 MB / 294.8 MB, free: 14.5 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 1.342e-06/1.342e-06, allocations: 0 / 442.7 MB, free: 5.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.477e-05, allocations: 2.281 kB / 442.7 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006251/0.006275, allocations: 4.313 MB / 447 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2436/0.2499, allocations: 3.59 MB / 450.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.2501, allocations: 1.125 kB / 450.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.2505, allocations: 50.67 kB / 450.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.2537, allocations: 0.7682 MB / 451.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005987/0.2543, allocations: 135.1 kB / 451.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.2555, allocations: 382.9 kB / 451.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.537e-05/0.2556, allocations: 13.3 kB / 451.9 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004505/0.256, allocations: 192 kB / 452.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.2564, allocations: 132.4 kB / 452.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.451e-05/0.2565, allocations: 6.875 kB / 452.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.258, allocations: 388 kB / 452.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2581, allocations: 53.52 kB / 452.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.2583, allocations: 76.52 kB / 452.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.2599, allocations: 486.9 kB / 453.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2599, allocations: 4 kB / 453.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2599, allocations: 0 / 453.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.2599, allocations: 5.312 kB / 453.2 MB, free: 14.36 MB / 366.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.001697/0.2616, allocations: 0.5224 MB / 453.8 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.2616, allocations: 13.56 kB / 453.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.2619, allocations: 32.56 kB / 453.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.2624, allocations: 166.6 kB / 454 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.2625, allocations: 228.2 kB / 454.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.2626, allocations: 22.52 kB / 454.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.2634, allocations: 488.2 kB / 454.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.2634, allocations: 384 / 454.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.2634, allocations: 14.78 kB / 454.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.2635, allocations: 7.531 kB / 454.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.2649, allocations: 0.7242 MB / 455.4 MB, free: 13.29 MB / 366.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.001777/0.2667, allocations: 1.042 MB / 456.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/0.2673, allocations: 149 kB / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.2675, allocations: 78.3 kB / 456.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002182/0.2696, allocations: 0.7283 MB / 457.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2697, allocations: 32.83 kB / 457.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.315e-06/0.2697, allocations: 0 / 457.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004395/0.2701, allocations: 122.3 kB / 457.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.2701, allocations: 57.47 kB / 457.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.2704, allocations: 239.1 kB / 457.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.2704, allocations: 27.11 kB / 457.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.2705, allocations: 224.6 kB / 458.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.2706, allocations: 46.81 kB / 458.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.2707, allocations: 86.27 kB / 458.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.2708, allocations: 328.7 kB / 458.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.271, allocations: 49.09 kB / 458.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.2712, allocations: 343.3 kB / 458.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.2718, allocations: 447.9 kB / 459.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-05/0.2719, allocations: 8.062 kB / 459.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001029/0.2729, allocations: 380.1 kB / 459.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/0.2729, allocations: 8.781 kB / 459.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.34e-05/0.273, allocations: 12.14 kB / 459.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.511e-05/0.273, allocations: 14.66 kB / 459.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.2735, allocations: 99.92 kB / 459.9 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.412e-05/0.2735, allocations: 25.22 kB / 459.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.274, allocations: 54.31 kB / 460 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.2741, allocations: 30.05 kB / 460 MB, free: 9.848 MB / 366.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.0001649/0.2742, allocations: 154.3 kB / 460.2 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.2743, allocations: 25.72 kB / 460.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.2747, allocations: 142.2 kB / 460.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.2747, allocations: 3.078 kB / 460.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2747, allocations: 0 / 460.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2747, allocations: 0.5156 kB / 460.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006291/0.2754, allocations: 360.9 kB / 460.7 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2754, allocations: 0.625 kB / 460.7 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.021e-05/0.2755, allocations: 13.45 kB / 460.7 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2755, allocations: 5.844 kB / 460.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.2755, allocations: 2.078 kB / 460.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2755, allocations: 5.688 kB / 460.7 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.2755, allocations: 6.531 kB / 460.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.2757, allocations: 203.5 kB / 460.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.403e-05/0.2758, allocations: 17.95 kB / 460.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.2759, allocations: 7.016 kB / 460.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002679/0.2762, allocations: 8.469 kB / 460.9 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.2762, allocations: 14.86 kB / 461 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.2762, allocations: 4.078 kB / 461 MB, free: 9.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.2764, allocations: 160.8 kB / 461.1 MB, free: 8.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2764, allocations: 0 / 461.1 MB, free: 8.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001019/0.2774, allocations: 92.38 kB / 461.2 MB, free: 8.957 MB / 366.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.0004162/0.2779, allocations: 158.8 kB / 461.4 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004575/0.2783, allocations: 172.6 kB / 461.5 MB, free: 8.785 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.2783, allocations: 5.062 kB / 461.5 MB, free: 8.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.795e-05/0.2784, allocations: 21.59 kB / 461.6 MB, free: 8.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.2791, allocations: 48.62 kB / 461.6 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.2806, allocations: 0.4907 MB / 462.1 MB, free: 8.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.2808, allocations: 116.3 kB / 462.2 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.2811, allocations: 51.52 kB / 462.3 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.103e-05/0.2812, allocations: 34.05 kB / 462.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2812, allocations: 0 / 462.3 MB, free: 8.332 MB / 366.1 MB Notification: Performance of Templates: time 0.0128/0.294, allocations: 3.081 MB / 465.4 MB, free: 7.891 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/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.375317253172398]