Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009808/0.0009808, allocations: 75.77 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9369/0.9369, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2691/0.2691, allocations: 34.27 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.257e-05, allocations: 2.312 kB / 378.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004886/0.004908, allocations: 4.715 MB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00353/0.008438, allocations: 4.131 MB / 386.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.00858, allocations: 4 kB / 386.9 MB, free: 9.707 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.008908, allocations: 59.61 kB / 387 MB, free: 9.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.01072, allocations: 0.8078 MB / 387.8 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.01099, allocations: 147.7 kB / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005622/0.01156, allocations: 389.9 kB / 388.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.01161, allocations: 9.812 kB / 388.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.01185, allocations: 207.4 kB / 388.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.01204, allocations: 135.7 kB / 388.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.01207, allocations: 8 kB / 388.7 MB, free: 7.953 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000686/0.01275, allocations: 407.2 kB / 389.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.01283, allocations: 43.77 kB / 389.1 MB, free: 7.512 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.01291, allocations: 83.81 kB / 389.2 MB, free: 7.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006797/0.01359, allocations: 470.6 kB / 389.6 MB, free: 6.969 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.01359, allocations: 0 / 389.6 MB, free: 6.969 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.0136, allocations: 3.938 kB / 389.6 MB, free: 6.965 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.0136, allocations: 0 / 389.6 MB, free: 6.965 MB / 362.7 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.0009208/0.01452, allocations: 0.6323 MB / 390.3 MB, free: 6.297 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.01456, allocations: 16.03 kB / 390.3 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.01473, allocations: 44.78 kB / 390.3 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.01495, allocations: 172.3 kB / 390.5 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.01508, allocations: 230.7 kB / 390.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.01511, allocations: 20.38 kB / 390.8 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.01549, allocations: 442.3 kB / 391.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.01551, allocations: 4.188 kB / 391.2 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.01553, allocations: 7.938 kB / 391.2 MB, free: 5.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.01556, allocations: 8 kB / 391.2 MB, free: 5.227 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.01596, allocations: 0.5372 MB / 391.7 MB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.01698, allocations: 1.331 MB / 393.1 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.01725, allocations: 144.2 kB / 393.2 MB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.01733, allocations: 68.3 kB / 393.3 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009375/0.01827, allocations: 0.8128 MB / 394.1 MB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.01829, allocations: 41.39 kB / 394.1 MB, free: 2.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/0.01829, allocations: 4 kB / 394.1 MB, free: 2.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002203/0.01851, allocations: 109.5 kB / 394.2 MB, free: 2.062 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.01855, allocations: 59.33 kB / 394.3 MB, free: 1.992 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.01871, allocations: 294.4 kB / 394.6 MB, free: 1.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.01873, allocations: 33.69 kB / 394.6 MB, free: 1.648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.01884, allocations: 274.2 kB / 394.9 MB, free: 1.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.01886, allocations: 43.67 kB / 394.9 MB, free: 1.332 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.292e-05/0.01894, allocations: 91.75 kB / 395 MB, free: 1.234 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.01907, allocations: 0.5 MB / 395.5 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.01912, allocations: 36.97 kB / 395.6 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.01934, allocations: 479.9 kB / 396 MB, free: 16 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.01972, allocations: 0.5511 MB / 396.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.01972, allocations: 0 / 396.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004091/0.02013, allocations: 385.8 kB / 397 MB, free: 14.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.02015, allocations: 11.94 kB / 397 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.02017, allocations: 12.09 kB / 397 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.02019, allocations: 20.03 kB / 397 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.02035, allocations: 99.83 kB / 397.1 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.02036, allocations: 19.92 kB / 397.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.0205, allocations: 55.62 kB / 397.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.02053, allocations: 31.94 kB / 397.2 MB, free: 14.63 MB / 378.7 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.0001214/0.02065, allocations: 196.3 kB / 397.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.02068, allocations: 27.86 kB / 397.4 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.02089, allocations: 142.7 kB / 397.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.0209, allocations: 0 / 397.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.02091, allocations: 0 / 397.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02091, allocations: 3.938 kB / 397.6 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.02122, allocations: 416.2 kB / 398 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.02123, allocations: 8.094 kB / 398 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.02126, allocations: 8 kB / 398 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.02126, allocations: 4 kB / 398 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.02127, allocations: 0 / 398 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.02128, allocations: 15.86 kB / 398 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.02128, allocations: 3.984 kB / 398 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.02143, allocations: 258.8 kB / 398.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.02146, allocations: 23.83 kB / 398.3 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.02148, allocations: 7.953 kB / 398.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.02156, allocations: 7.938 kB / 398.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.02158, allocations: 11.98 kB / 398.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.02158, allocations: 4 kB / 398.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.381e-05/0.02168, allocations: 193.1 kB / 398.5 MB, free: 13.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02168, allocations: 4 kB / 398.5 MB, free: 13.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.02202, allocations: 87.88 kB / 398.6 MB, free: 13.13 MB / 378.7 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.0002407/0.02226, allocations: 159.1 kB / 398.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.02249, allocations: 171.5 kB / 398.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.02249, allocations: 0 / 398.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/0.02252, allocations: 35.61 kB / 399 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.02283, allocations: 52.89 kB / 399 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.024, allocations: 0.5297 MB / 399.5 MB, free: 12.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.484e-05/0.02404, allocations: 68.34 kB / 399.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001207/0.02416, allocations: 59.09 kB / 399.7 MB, free: 11.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.0242, allocations: 28.5 kB / 399.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.0242, allocations: 3.938 kB / 399.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of Templates: time 0.005731/0.02993, allocations: 3.473 MB / 403.2 MB, free: 8.547 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1307746223174036]