Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001741/0.001741, 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.002137/0.002137, 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.469/1.469, allocations: 177 MB / 204.1 MB, free: 9.148 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.2123/0.2123, 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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.667e-05, allocations: 2.281 kB / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006807/0.006834, allocations: 4.695 MB / 447.4 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2081/0.2149, allocations: 4.089 MB / 451.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.755e-05/0.215, allocations: 1.312 kB / 451.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.2153, allocations: 47.02 kB / 451.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001558/0.2168, allocations: 0.7072 MB / 452.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003596/0.2172, allocations: 157.6 kB / 452.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004503/0.2176, allocations: 380.1 kB / 452.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.2177, allocations: 8.141 kB / 452.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002773/0.2179, allocations: 203.3 kB / 453 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.2181, allocations: 115.8 kB / 453.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.2182, allocations: 7.5 kB / 453.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005999/0.2188, allocations: 326.1 kB / 453.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.626e-05/0.2188, allocations: 41.28 kB / 453.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.2189, allocations: 87.41 kB / 453.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006585/0.2196, allocations: 454.8 kB / 454 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2196, allocations: 1.375 kB / 454 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2196, allocations: 0 / 454 MB, free: 13.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2196, allocations: 0 / 454 MB, free: 13.93 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.0009153/0.2205, allocations: 0.5188 MB / 454.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2206, allocations: 9.188 kB / 454.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.2207, allocations: 25.44 kB / 454.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.221, allocations: 172.8 kB / 454.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.2212, allocations: 226.9 kB / 454.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.2212, allocations: 21.5 kB / 454.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.2217, allocations: 0.5018 MB / 455.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2217, allocations: 4.375 kB / 455.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.2218, allocations: 20.78 kB / 455.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.2218, allocations: 10.78 kB / 455.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008452/0.2226, allocations: 0.7177 MB / 456.2 MB, free: 12.79 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.001027/0.2237, allocations: 1.03 MB / 457.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.224, allocations: 142.7 kB / 457.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.2241, allocations: 70.41 kB / 457.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/0.2253, allocations: 0.6615 MB / 458.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.2253, allocations: 34 kB / 458.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.2253, allocations: 0 / 458.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006677/0.226, allocations: 221.8 kB / 458.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.226, allocations: 53.88 kB / 458.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.2262, allocations: 234.5 kB / 458.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.2262, allocations: 26.77 kB / 458.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.2263, allocations: 219.5 kB / 458.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.2263, allocations: 48.52 kB / 458.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.701e-05/0.2264, allocations: 88.64 kB / 459 MB, free: 10.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.2264, allocations: 328.3 kB / 459.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.361e-05/0.2265, allocations: 52.53 kB / 459.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.2267, allocations: 314.7 kB / 459.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.227, allocations: 414.6 kB / 460.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.227, allocations: 7.562 kB / 460.1 MB, free: 9.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005478/0.2276, allocations: 367.4 kB / 460.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2276, allocations: 9.188 kB / 460.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.2276, allocations: 10.66 kB / 460.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/0.2276, allocations: 12.22 kB / 460.5 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.228, allocations: 110.5 kB / 460.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/0.228, allocations: 20.41 kB / 460.6 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.2282, allocations: 15.69 kB / 460.6 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.2283, allocations: 28.41 kB / 460.6 MB, free: 9.445 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001105/0.2284, allocations: 155.4 kB / 460.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.2284, allocations: 25.72 kB / 460.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.2287, allocations: 160 kB / 461 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2287, allocations: 2.25 kB / 461 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2287, allocations: 0.6094 kB / 461 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2288, allocations: 1.812 kB / 461 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/0.2292, allocations: 363.6 kB / 461.3 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.2292, allocations: 5.188 kB / 461.3 MB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.2294, allocations: 42.41 kB / 461.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2294, allocations: 1.375 kB / 461.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2294, allocations: 1.797 kB / 461.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.2294, allocations: 5.75 kB / 461.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2294, allocations: 1.219 kB / 461.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.2296, allocations: 225.8 kB / 461.6 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.2296, allocations: 27.36 kB / 461.6 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.2297, allocations: 3.953 kB / 461.6 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2299, allocations: 10.72 kB / 461.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.2299, allocations: 17.16 kB / 461.7 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.2299, allocations: 10.84 kB / 461.7 MB, free: 8.691 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.23, allocations: 149.4 kB / 461.8 MB, free: 8.598 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.23, allocations: 0 / 461.8 MB, free: 8.598 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004998/0.2305, allocations: 105.1 kB / 461.9 MB, free: 8.574 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0002789/0.2308, allocations: 167.3 kB / 462.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002901/0.2311, allocations: 176.6 kB / 462.3 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2311, allocations: 1.312 kB / 462.3 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.618e-05/0.2312, allocations: 34.05 kB / 462.3 MB, free: 8.398 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.2317, allocations: 52.03 kB / 462.4 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.2325, allocations: 479.2 kB / 462.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.709e-05/0.2326, allocations: 115.8 kB / 462.9 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.2328, allocations: 58.88 kB / 463 MB, free: 7.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.2328, allocations: 31.64 kB / 463 MB, free: 7.973 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2328, allocations: 1.219 kB / 463 MB, free: 7.973 MB / 366.1 MB Notification: Performance of Templates: time 0.007777/0.2406, allocations: 3.416 MB / 466.4 MB, free: 7.469 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.070457242429256]