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.0009884/0.0009884, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001114/0.001114, allocations: 161 kB / 24.56 MB, free: 16 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 1.061/1.061, allocations: 177.1 MB / 205 MB, free: 5.637 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.2552/0.2552, allocations: 32.8 MB / 294.3 MB, free: 1.199 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 5.34e-06/5.34e-06, allocations: 0 / 376 MB, free: 4.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/3.514e-05, allocations: 2.312 kB / 376 MB, free: 4.613 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006949/0.006985, allocations: 4.712 MB / 380.8 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00513/0.01211, allocations: 4.127 MB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.01224, allocations: 4 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.01259, allocations: 59.61 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.01469, allocations: 0.8117 MB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.01506, allocations: 143.7 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006644/0.01572, allocations: 397.9 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.713e-05/0.01578, allocations: 9.812 kB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.0161, allocations: 199.4 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.01638, allocations: 139.7 kB / 386.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.01642, allocations: 8 kB / 386.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008787/0.01729, allocations: 403.2 kB / 387 MB, free: 9.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.556e-05/0.01739, allocations: 55.69 kB / 387.1 MB, free: 9.516 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.01751, allocations: 79.83 kB / 387.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008084/0.01832, allocations: 462.6 kB / 387.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.01832, allocations: 4 kB / 387.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01832, allocations: 0 / 387.6 MB, free: 8.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.01833, allocations: 3.984 kB / 387.6 MB, free: 8.977 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.001279/0.01961, allocations: 0.6323 MB / 388.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.01966, allocations: 8.031 kB / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.01988, allocations: 48.78 kB / 388.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.02017, allocations: 176.2 kB / 388.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.02034, allocations: 230.7 kB / 388.7 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.02039, allocations: 24.31 kB / 388.7 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.02094, allocations: 442.3 kB / 389.2 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.02096, allocations: 4.125 kB / 389.2 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.02099, allocations: 15.92 kB / 389.2 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.02102, allocations: 8 kB / 389.2 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.02169, allocations: 0.5294 MB / 389.7 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.02312, allocations: 1.331 MB / 391 MB, free: 5.289 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.0235, allocations: 144.2 kB / 391.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.02362, allocations: 64.31 kB / 391.3 MB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.02505, allocations: 0.8167 MB / 392.1 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.02509, allocations: 41.39 kB / 392.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.02509, allocations: 0 / 392.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003128/0.0254, allocations: 121.4 kB / 392.2 MB, free: 4.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.02544, allocations: 51.41 kB / 392.3 MB, free: 3.996 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.02568, allocations: 294.4 kB / 392.6 MB, free: 3.691 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.0257, allocations: 29.7 kB / 392.6 MB, free: 3.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.02586, allocations: 270.2 kB / 392.9 MB, free: 3.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.877e-05/0.0259, allocations: 51.67 kB / 392.9 MB, free: 3.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.02601, allocations: 91.75 kB / 393 MB, free: 3.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.02618, allocations: 0.5 MB / 393.5 MB, free: 2.727 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.02626, allocations: 36.97 kB / 393.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.02661, allocations: 471.9 kB / 394 MB, free: 2.031 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.02712, allocations: 0.5589 MB / 394.6 MB, free: 1.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.02713, allocations: 4 kB / 394.6 MB, free: 1.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006143/0.02775, allocations: 393.5 kB / 394.9 MB, free: 0.875 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.02777, allocations: 10.34 kB / 395 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.02779, allocations: 12 kB / 395 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/0.02783, allocations: 12 kB / 395 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.02808, allocations: 99.83 kB / 395.1 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.0281, allocations: 15.94 kB / 395.1 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.02834, allocations: 51.62 kB / 395.1 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.02838, allocations: 32.31 kB / 395.2 MB, free: 0.6484 MB / 362.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.00014/0.02852, allocations: 204.2 kB / 395.4 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.02858, allocations: 27.86 kB / 395.4 MB, free: 420 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.02887, allocations: 138.6 kB / 395.5 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.02888, allocations: 7.938 kB / 395.5 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.02888, allocations: 0 / 395.5 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.02889, allocations: 0 / 395.5 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004658/0.02935, allocations: 412.3 kB / 395.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.02936, allocations: 64 / 395.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.829e-05/0.02942, allocations: 23.92 kB / 396 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.02942, allocations: 4 kB / 396 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.02943, allocations: 0 / 396 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.02943, allocations: 3.938 kB / 396 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.02944, allocations: 4.094 kB / 396 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.02965, allocations: 262.8 kB / 396.2 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.0297, allocations: 23.83 kB / 396.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.375e-05/0.02973, allocations: 7.953 kB / 396.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.02987, allocations: 11.92 kB / 396.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.0299, allocations: 4 kB / 396.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.02991, allocations: 4 kB / 396.3 MB, free: 15.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001559/0.03007, allocations: 193.1 kB / 396.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.03007, allocations: 0 / 396.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005631/0.03063, allocations: 95.86 kB / 396.6 MB, free: 15.14 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.0003052/0.03094, allocations: 159.1 kB / 396.7 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.03124, allocations: 167.4 kB / 396.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.03124, allocations: 4.188 kB / 396.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.03128, allocations: 31.61 kB / 396.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.03175, allocations: 56.38 kB / 397 MB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.0331, allocations: 0.5299 MB / 397.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.873e-05/0.03316, allocations: 76.27 kB / 397.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.03334, allocations: 54.97 kB / 397.6 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.0334, allocations: 28.5 kB / 397.7 MB, free: 13.97 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.0334, allocations: 0 / 397.7 MB, free: 13.97 MB / 378.7 MB Notification: Performance of Templates: time 0.006883/0.04028, allocations: 3.046 MB / 400.7 MB, free: 10.98 MB / 378.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 -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: 3.3407007423229516]