Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001913/0.001913, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.002499/0.002499, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.522/1.522, allocations: 177 MB / 204.1 MB, free: 9.164 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.2159/0.2159, allocations: 34.26 MB / 294.8 MB, free: 14.52 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.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.162e-05/3.338e-05, allocations: 2.281 kB / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.2681/0.2681, allocations: 24.14 MB / 466.8 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.2712, allocations: 2.672 MB / 469.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.2713, allocations: 1.781 kB / 469.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000329/0.2716, allocations: 53.91 kB / 469.5 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.2734, allocations: 0.7659 MB / 470.3 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.2737, allocations: 141 kB / 470.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005177/0.2743, allocations: 378.2 kB / 470.8 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.2743, allocations: 12.08 kB / 470.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04209/0.3164, allocations: 15.48 MB / 486.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005612/0.317, allocations: 136 kB / 486.4 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.284e-05/0.317, allocations: 8.625 kB / 486.5 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.3273, allocations: 3.388 MB / 489.8 MB, free: 6.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.3275, allocations: 51.75 kB / 489.9 MB, free: 6.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002547/0.3278, allocations: 83.77 kB / 490 MB, free: 6.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.3293, allocations: 484.2 kB / 490.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3293, allocations: 0 / 490.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3293, allocations: 0 / 490.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.3293, allocations: 4 kB / 490.4 MB, free: 6.379 MB / 382.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.001334/0.3307, allocations: 0.5285 MB / 491 MB, free: 5.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.3307, allocations: 8.031 kB / 491 MB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.3309, allocations: 28.8 kB / 491 MB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.3313, allocations: 161.5 kB / 491.2 MB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/0.3315, allocations: 226.7 kB / 491.4 MB, free: 5.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.3315, allocations: 24.38 kB / 491.4 MB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006835/0.3322, allocations: 489.9 kB / 491.9 MB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3322, allocations: 5.812 kB / 491.9 MB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.3322, allocations: 15.94 kB / 491.9 MB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.3323, allocations: 7.984 kB / 491.9 MB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009063/0.3332, allocations: 0.7159 MB / 492.6 MB, free: 4.02 MB / 382.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.001509/0.3347, allocations: 1.046 MB / 493.7 MB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.3351, allocations: 151.7 kB / 493.8 MB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.3352, allocations: 78.89 kB / 493.9 MB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001647/0.3368, allocations: 0.727 MB / 494.6 MB, free: 1.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3369, allocations: 34.56 kB / 494.7 MB, free: 1.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.3369, allocations: 0 / 494.7 MB, free: 1.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003336/0.3372, allocations: 113.8 kB / 494.8 MB, free: 1.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3372, allocations: 55.41 kB / 494.8 MB, free: 1.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.3375, allocations: 236.8 kB / 495.1 MB, free: 1.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.3375, allocations: 29.7 kB / 495.1 MB, free: 1.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3377, allocations: 219.5 kB / 495.3 MB, free: 1.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.3377, allocations: 51.58 kB / 495.4 MB, free: 1.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3378, allocations: 86.09 kB / 495.4 MB, free: 1.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.338, allocations: 330.8 kB / 495.8 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.3381, allocations: 48.97 kB / 495.8 MB, free: 0.6953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.3384, allocations: 348.1 kB / 496.2 MB, free: 212 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/0.3389, allocations: 440.5 kB / 496.6 MB, free: 15.63 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3389, allocations: 11.94 kB / 496.6 MB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008026/0.3397, allocations: 377.9 kB / 497 MB, free: 15.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.3398, allocations: 12.03 kB / 497 MB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/0.3398, allocations: 14.06 kB / 497 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.291e-05/0.3398, allocations: 12 kB / 497 MB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.3402, allocations: 99.83 kB / 497.1 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.458e-05/0.3402, allocations: 19.92 kB / 497.1 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.3405, allocations: 59.56 kB / 497.2 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.3405, allocations: 31.94 kB / 497.2 MB, free: 15 MB / 398.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.0001682/0.3407, allocations: 149.6 kB / 497.4 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.3407, allocations: 15.91 kB / 497.4 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.3411, allocations: 160.5 kB / 497.5 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.3411, allocations: 4 kB / 497.5 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3411, allocations: 0 / 497.5 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.3411, allocations: 0 / 497.5 MB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.3416, allocations: 352.5 kB / 497.9 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3416, allocations: 0 / 497.9 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.255e-05/0.3417, allocations: 16.86 kB / 497.9 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3417, allocations: 7.938 kB / 497.9 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.3417, allocations: 0 / 497.9 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.3417, allocations: 3.938 kB / 497.9 MB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3417, allocations: 4 kB / 497.9 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.3419, allocations: 201.9 kB / 498.1 MB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.342, allocations: 19.89 kB / 498.1 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.893e-05/0.342, allocations: 4.969 kB / 498.1 MB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3422, allocations: 19.92 kB / 498.2 MB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.3422, allocations: 4 kB / 498.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3423, allocations: 11.97 kB / 498.2 MB, free: 13.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001611/0.3424, allocations: 153.2 kB / 498.3 MB, free: 13.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3424, allocations: 0 / 498.3 MB, free: 13.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005409/0.343, allocations: 95.98 kB / 498.4 MB, free: 13.71 MB / 398.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.0004214/0.3434, allocations: 167 kB / 498.6 MB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.3437, allocations: 165.9 kB / 498.7 MB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3437, allocations: 0 / 498.7 MB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.3437, allocations: 21.55 kB / 498.8 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.3442, allocations: 52.2 kB / 498.8 MB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009876/0.3452, allocations: 0.4984 MB / 499.3 MB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.3453, allocations: 120.5 kB / 499.4 MB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.3455, allocations: 58.84 kB / 499.5 MB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.3455, allocations: 28.48 kB / 499.5 MB, free: 12.55 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3455, allocations: 0 / 499.5 MB, free: 12.55 MB / 398.1 MB Notification: Performance of Templates: time 0.00772/0.3533, allocations: 3.092 MB / 0.4908 GB, free: 9.512 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.274368569254875]