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.001377/0.001377, 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.001474/0.001474, 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 0.988/0.988, allocations: 177.1 MB / 205 MB, free: 5.629 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.2626/0.2626, allocations: 34.26 MB / 295.7 MB, free: 0.7344 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.475e-06/2.475e-06, allocations: 0 / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.721e-05, allocations: 6.25 kB / 378.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004754/0.004782, allocations: 4.715 MB / 382.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.007899, allocations: 4.142 MB / 386.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.497e-05/0.007994, allocations: 0 / 386.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.008275, allocations: 47.69 kB / 387 MB, free: 9.664 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.009891, allocations: 0.8156 MB / 387.8 MB, free: 8.844 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.01013, allocations: 147.6 kB / 387.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004442/0.01057, allocations: 393.9 kB / 388.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.01062, allocations: 9.812 kB / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.01081, allocations: 199.4 kB / 388.5 MB, free: 8.105 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.01099, allocations: 139.7 kB / 388.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.01101, allocations: 8 kB / 388.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005934/0.01161, allocations: 403.2 kB / 389.1 MB, free: 7.566 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.01167, allocations: 39.83 kB / 389.1 MB, free: 7.527 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.196e-05/0.01176, allocations: 95.75 kB / 389.2 MB, free: 7.434 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005866/0.01234, allocations: 462.6 kB / 389.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01235, allocations: 0 / 389.6 MB, free: 6.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01235, allocations: 3.938 kB / 389.6 MB, free: 6.977 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.01235, allocations: 0 / 389.6 MB, free: 6.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.0009397/0.01329, allocations: 0.6284 MB / 390.3 MB, free: 6.312 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.01333, allocations: 16.03 kB / 390.3 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.0135, allocations: 48.77 kB / 390.3 MB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.01371, allocations: 168.3 kB / 390.5 MB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.01383, allocations: 230.7 kB / 390.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.01386, allocations: 24.38 kB / 390.8 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.01423, allocations: 438.3 kB / 391.2 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.01424, allocations: 4.188 kB / 391.2 MB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.01427, allocations: 11.94 kB / 391.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/0.01429, allocations: 8 kB / 391.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.01469, allocations: 0.5332 MB / 391.7 MB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009642/0.01565, allocations: 1.335 MB / 393.1 MB, free: 3.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.0159, allocations: 144.2 kB / 393.2 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.01598, allocations: 64.31 kB / 393.3 MB, free: 3.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009011/0.01689, allocations: 0.8284 MB / 394.1 MB, free: 2.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.01691, allocations: 37.39 kB / 394.1 MB, free: 2.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.01691, allocations: 0 / 394.1 MB, free: 2.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.000219/0.01713, allocations: 113.5 kB / 394.3 MB, free: 2.066 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.01716, allocations: 55.34 kB / 394.3 MB, free: 2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.01733, allocations: 302.4 kB / 394.6 MB, free: 1.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.01735, allocations: 29.64 kB / 394.6 MB, free: 1.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.01746, allocations: 270.2 kB / 394.9 MB, free: 1.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.01748, allocations: 47.67 kB / 394.9 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.01755, allocations: 91.75 kB / 395 MB, free: 1.238 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.01767, allocations: 0.5039 MB / 395.5 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.01772, allocations: 36.97 kB / 395.6 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.01794, allocations: 475.9 kB / 396 MB, free: 20 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.01828, allocations: 0.5511 MB / 396.6 MB, free: 15.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.01829, allocations: 4 kB / 396.6 MB, free: 15.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003637/0.01865, allocations: 381.7 kB / 397 MB, free: 14.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.01867, allocations: 12.12 kB / 397 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.01868, allocations: 16 kB / 397 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.0187, allocations: 12 kB / 397 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.01885, allocations: 99.83 kB / 397.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.01886, allocations: 19.92 kB / 397.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.01899, allocations: 55.62 kB / 397.2 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.01902, allocations: 35.94 kB / 397.2 MB, free: 14.64 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.413e-05/0.01911, allocations: 192.3 kB / 397.4 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.01914, allocations: 27.86 kB / 397.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.01934, allocations: 142.2 kB / 397.6 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.01935, allocations: 0 / 397.6 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01935, allocations: 0 / 397.6 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01935, allocations: 4 kB / 397.6 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.01964, allocations: 416.2 kB / 398 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01965, allocations: 4 kB / 398 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.01968, allocations: 8 kB / 398 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.01968, allocations: 4 kB / 398 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.01969, allocations: 4 kB / 398 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.168e-06/0.0197, allocations: 11.88 kB / 398 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.0197, allocations: 0 / 398 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.01984, allocations: 258.8 kB / 398.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.01987, allocations: 19.84 kB / 398.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.0199, allocations: 15.94 kB / 398.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.01997, allocations: 12.03 kB / 398.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.958e-05/0.01999, allocations: 3.984 kB / 398.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.02, allocations: 4 kB / 398.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.863e-05/0.02009, allocations: 201.1 kB / 398.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02009, allocations: 0 / 398.5 MB, free: 13.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.02042, allocations: 91.88 kB / 398.6 MB, free: 13.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.0002196/0.02063, allocations: 155.2 kB / 398.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.02084, allocations: 175.2 kB / 398.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.02084, allocations: 0 / 398.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.02087, allocations: 31.61 kB / 398.9 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.0002773/0.02114, allocations: 60.05 kB / 399 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.02215, allocations: 0.522 MB / 399.5 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.684e-05/0.0222, allocations: 72.33 kB / 399.6 MB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.02232, allocations: 55.11 kB / 399.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.02236, allocations: 32.48 kB / 399.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02236, allocations: 0 / 399.7 MB, free: 11.98 MB / 378.7 MB Notification: Performance of Templates: time 0.004863/0.02722, allocations: 3.042 MB / 402.7 MB, free: 8.988 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.219506516121328]