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.0009823/0.0009823, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001146/0.001146, allocations: 166 kB / 24.82 MB, free: 9.266 MB / 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 1.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.279/0.279, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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 2.175e-06/2.175e-06, allocations: 0 / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.875e-05, allocations: 2.312 kB / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00507/0.005099, allocations: 4.68 MB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.00845, allocations: 4.111 MB / 387.3 MB, free: 9.512 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.00853, allocations: 0 / 387.3 MB, free: 9.512 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.008833, allocations: 51.62 kB / 387.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001311/0.01014, allocations: 0.8118 MB / 388.2 MB, free: 8.645 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.01037, allocations: 155.6 kB / 388.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004187/0.01079, allocations: 397.9 kB / 388.7 MB, free: 8.102 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.01083, allocations: 5.812 kB / 388.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.01105, allocations: 203.4 kB / 388.9 MB, free: 7.895 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.01123, allocations: 135.7 kB / 389.1 MB, free: 7.762 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.01126, allocations: 8 kB / 389.1 MB, free: 7.754 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.01175, allocations: 407.2 kB / 389.5 MB, free: 7.355 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-05/0.01183, allocations: 47.75 kB / 389.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.01191, allocations: 79.83 kB / 389.6 MB, free: 7.23 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.01242, allocations: 466.6 kB / 390.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01242, allocations: 0 / 390.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.01242, allocations: 0 / 390.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.01243, allocations: 7.875 kB / 390.1 MB, free: 6.766 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.0008514/0.01328, allocations: 0.6323 MB / 390.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.01332, allocations: 8.031 kB / 390.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.01345, allocations: 56.7 kB / 390.8 MB, free: 6.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.01364, allocations: 164.3 kB / 390.9 MB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.01376, allocations: 230.7 kB / 391.1 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.01378, allocations: 20.38 kB / 391.2 MB, free: 5.555 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003321/0.01412, allocations: 426.2 kB / 391.6 MB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.01413, allocations: 4.188 kB / 391.6 MB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.01415, allocations: 19.94 kB / 391.6 MB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.01417, allocations: 8 kB / 391.6 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.0145, allocations: 462.6 kB / 392.1 MB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008819/0.01538, allocations: 1.316 MB / 393.4 MB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.01558, allocations: 132.2 kB / 393.5 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.01564, allocations: 56.31 kB / 393.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008732/0.01651, allocations: 0.8475 MB / 394.4 MB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.01653, allocations: 37.39 kB / 394.4 MB, free: 2.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.01653, allocations: 0 / 394.4 MB, free: 2.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001798/0.01671, allocations: 109.5 kB / 394.6 MB, free: 1.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.01674, allocations: 55.41 kB / 394.6 MB, free: 1.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.01689, allocations: 294.3 kB / 394.9 MB, free: 1.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.01691, allocations: 33.7 kB / 394.9 MB, free: 1.566 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.01703, allocations: 274.1 kB / 395.2 MB, free: 1.293 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.01705, allocations: 47.67 kB / 395.2 MB, free: 1.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/0.01713, allocations: 91.72 kB / 395.3 MB, free: 1.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.01727, allocations: 0.5039 MB / 395.8 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.0173, allocations: 28.97 kB / 395.9 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.01753, allocations: 463.8 kB / 396.3 MB, free: 15.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.01786, allocations: 0.5511 MB / 396.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.01787, allocations: 4 kB / 396.9 MB, free: 15.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003333/0.0182, allocations: 369.2 kB / 397.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.01821, allocations: 12 kB / 397.2 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.01823, allocations: 11.94 kB / 397.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.01824, allocations: 16 kB / 397.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.01838, allocations: 95.83 kB / 397.4 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.01839, allocations: 20.53 kB / 397.4 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.01851, allocations: 55.66 kB / 397.4 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.01854, allocations: 27.98 kB / 397.5 MB, free: 14.59 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 9.846e-05/0.01863, allocations: 196.3 kB / 397.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.01867, allocations: 27.8 kB / 397.7 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.01884, allocations: 138.2 kB / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.01885, allocations: 4 kB / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01885, allocations: 3.984 kB / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01886, allocations: 0 / 397.8 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.01914, allocations: 376.8 kB / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01914, allocations: 0 / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.01917, allocations: 12 kB / 398.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.01917, allocations: 7.984 kB / 398.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.01918, allocations: 4.156 kB / 398.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01918, allocations: 7.938 kB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.01918, allocations: 7.938 kB / 398.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.01931, allocations: 258.7 kB / 398.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.01934, allocations: 27.78 kB / 398.5 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.01935, allocations: 3.984 kB / 398.5 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.01942, allocations: 8 kB / 398.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.01944, allocations: 11.92 kB / 398.5 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.01945, allocations: 4 kB / 398.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.889e-05/0.01953, allocations: 185.1 kB / 398.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.01953, allocations: 0 / 398.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002989/0.01983, allocations: 103.9 kB / 398.8 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.000209/0.02004, allocations: 151.2 kB / 399 MB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.02022, allocations: 167 kB / 399.1 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.02022, allocations: 0 / 399.1 MB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.505e-05/0.02025, allocations: 31.55 kB / 399.2 MB, free: 12.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.0206, allocations: 45.34 kB / 399.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.02161, allocations: 0.5375 MB / 399.7 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.996e-05/0.02166, allocations: 72.33 kB / 399.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.0218, allocations: 50.92 kB / 399.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.02194, allocations: 122.2 kB / 400 MB, free: 11.89 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02194, allocations: 0 / 400 MB, free: 11.89 MB / 378.7 MB Notification: Performance of Templates: time 0.005967/0.02791, allocations: 3.44 MB / 403.4 MB, free: 8.488 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.445776562206447]