Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001412/0.001412, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001614/0.001614, allocations: 170.4 kB / 24.91 MB, free: 9.199 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 0.994/0.994, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2537/0.2537, allocations: 32.81 MB / 294.6 MB, free: 1.262 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.103e-06/2.103e-06, allocations: 0 / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/2.991e-05, allocations: 4.984 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.01645/0.01648, allocations: 4.75 MB / 328 MB, free: 4.871 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00862/0.0251, allocations: 4.154 MB / 332.2 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003244/0.02834, allocations: 0 / 332.2 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.02869, allocations: 55.61 kB / 332.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004761/0.03345, allocations: 0.804 MB / 333.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.03381, allocations: 139.7 kB / 333.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005974/0.0344, allocations: 402.5 kB / 333.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.644e-05/0.03445, allocations: 10.47 kB / 333.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.0347, allocations: 203.4 kB / 333.8 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.03493, allocations: 131.7 kB / 333.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.03495, allocations: 8 kB / 333.9 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.03613, allocations: 423.2 kB / 334.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.473e-05/0.03621, allocations: 47.77 kB / 334.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.696e-05/0.03629, allocations: 79.83 kB / 334.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006442/0.03694, allocations: 462.6 kB / 334.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.03694, allocations: 4 kB / 334.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.03694, allocations: 0 / 334.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.03695, allocations: 0 / 334.9 MB, free: 13.96 MB / 314.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.0009006/0.03785, allocations: 0.5042 MB / 335.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.03789, allocations: 12.03 kB / 335.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.03804, allocations: 56.78 kB / 335.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.03828, allocations: 165.4 kB / 335.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.03843, allocations: 226.7 kB / 335.9 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.03847, allocations: 28.31 kB / 335.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.03891, allocations: 405.2 kB / 336.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.03893, allocations: 192 / 336.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.03896, allocations: 15.94 kB / 336.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.182e-05/0.03903, allocations: 4 kB / 336.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.03946, allocations: 445.5 kB / 336.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008726/0.04033, allocations: 0.95 MB / 337.7 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.04054, allocations: 159.4 kB / 337.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.04058, allocations: 45.5 kB / 337.9 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009144/0.0415, allocations: 0.7525 MB / 338.7 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.04153, allocations: 38.56 kB / 338.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.874e-06/0.04153, allocations: 0 / 338.7 MB, free: 9.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001713/0.0417, allocations: 128.7 kB / 338.8 MB, free: 9.812 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.04173, allocations: 51.41 kB / 338.9 MB, free: 9.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.04186, allocations: 231.1 kB / 339.1 MB, free: 9.512 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.04188, allocations: 33.7 kB / 339.1 MB, free: 9.473 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.511e-05/0.04198, allocations: 231.3 kB / 339.4 MB, free: 9.242 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.042, allocations: 39.69 kB / 339.4 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.861e-05/0.04207, allocations: 94.05 kB / 339.5 MB, free: 9.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.04216, allocations: 330.7 kB / 339.8 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.801e-05/0.0422, allocations: 35.8 kB / 339.9 MB, free: 8.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.04237, allocations: 336.1 kB / 340.2 MB, free: 8.266 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.04264, allocations: 430.2 kB / 340.6 MB, free: 7.695 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.04265, allocations: 4 kB / 340.6 MB, free: 7.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002879/0.04293, allocations: 320.5 kB / 340.9 MB, free: 7.371 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.04296, allocations: 12.19 kB / 340.9 MB, free: 7.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.04297, allocations: 12 kB / 340.9 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.04299, allocations: 16 kB / 341 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.04314, allocations: 99.83 kB / 341.1 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.04316, allocations: 19.92 kB / 341.1 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.04328, allocations: 55.62 kB / 341.1 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.0433, allocations: 24 kB / 341.1 MB, free: 7.137 MB / 314.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.263e-05/0.0434, allocations: 152.3 kB / 341.3 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.04343, allocations: 15.98 kB / 341.3 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.04365, allocations: 131.4 kB / 341.4 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.04367, allocations: 0 / 341.4 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.04367, allocations: 0 / 341.4 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.04367, allocations: 0 / 341.4 MB, free: 6.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.04406, allocations: 333 kB / 341.8 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.04406, allocations: 4.062 kB / 341.8 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.0441, allocations: 15.98 kB / 341.8 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.04411, allocations: 0 / 341.8 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.04411, allocations: 8.047 kB / 341.8 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.04412, allocations: 3.938 kB / 341.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.04412, allocations: 7.984 kB / 341.8 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.04426, allocations: 228.7 kB / 342 MB, free: 6.172 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.04429, allocations: 31.8 kB / 342.1 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.04431, allocations: 4 kB / 342.1 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.04438, allocations: 12.08 kB / 342.1 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.0444, allocations: 3.938 kB / 342.1 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.04441, allocations: 11.98 kB / 342.1 MB, free: 6.109 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.248e-05/0.04446, allocations: 70.78 kB / 342.2 MB, free: 6.039 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04446, allocations: 3.938 kB / 342.2 MB, free: 6.035 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003046/0.04477, allocations: 91.88 kB / 342.3 MB, free: 5.945 MB / 314.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.00022/0.04499, allocations: 132.2 kB / 342.4 MB, free: 5.805 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.04515, allocations: 164.3 kB / 342.5 MB, free: 5.645 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.04517, allocations: 4.5 kB / 342.5 MB, free: 5.641 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.857e-05/0.04518, allocations: 24.78 kB / 342.6 MB, free: 5.613 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.04541, allocations: 55.78 kB / 342.6 MB, free: 5.559 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008608/0.04627, allocations: 0.5266 MB / 343.2 MB, free: 4.996 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.938e-05/0.04631, allocations: 68.34 kB / 343.2 MB, free: 4.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.04643, allocations: 58.91 kB / 343.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.04653, allocations: 95.34 kB / 343.4 MB, free: 4.758 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.04653, allocations: 4 kB / 343.4 MB, free: 4.754 MB / 314.7 MB Notification: Performance of Templates: time 0.00518/0.05171, allocations: 3.429 MB / 346.8 MB, free: 1.375 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.946003750897944]