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.001342/0.001342, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.0009809/0.0009809, allocations: 172.3 kB / 25.61 MB, free: 8.883 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.9014/0.9014, allocations: 177.1 MB / 206 MB, free: 4.492 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.15/0.15, allocations: 34.26 MB / 296.8 MB, free: 14.04 MB / 282.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.583e-06/1.583e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.621e-05, allocations: 5.406 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.003398/0.003415, allocations: 4.67 MB / 384 MB, free: 18.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.005833, allocations: 4.107 MB / 388.1 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.005911, allocations: 4 kB / 388.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.006091, allocations: 55.66 kB / 388.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.007316, allocations: 0.8117 MB / 389 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.007516, allocations: 139.8 kB / 389.1 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.007858, allocations: 405.7 kB / 389.5 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.007894, allocations: 13.8 kB / 389.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.008054, allocations: 199.4 kB / 389.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.008204, allocations: 135.7 kB / 389.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.008224, allocations: 8 kB / 389.8 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.008739, allocations: 403.2 kB / 390.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.008789, allocations: 47.81 kB / 390.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.008849, allocations: 83.77 kB / 390.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.009296, allocations: 474.6 kB / 390.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.009298, allocations: 0 / 390.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.009299, allocations: 0 / 390.8 MB, free: 11.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.009302, allocations: 0 / 390.8 MB, free: 11.84 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.0005762/0.009878, allocations: 0.6245 MB / 391.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.362e-05/0.009902, allocations: 12.03 kB / 391.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.01002, allocations: 52.73 kB / 391.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.01015, allocations: 184.2 kB / 391.7 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.0102, allocations: 222.7 kB / 391.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.01022, allocations: 24.38 kB / 391.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.01043, allocations: 422.3 kB / 392.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.01044, allocations: 4.125 kB / 392.4 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.01045, allocations: 11.94 kB / 392.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.01047, allocations: 4 kB / 392.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.01072, allocations: 466.6 kB / 392.8 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.01128, allocations: 1.316 MB / 394.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.01144, allocations: 136.2 kB / 394.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.01148, allocations: 56.31 kB / 394.3 MB, free: 8.074 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007052/0.01218, allocations: 0.8283 MB / 395.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.321e-05/0.0122, allocations: 33.39 kB / 395.2 MB, free: 7.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.0122, allocations: 4 kB / 395.2 MB, free: 7.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001366/0.01234, allocations: 105.5 kB / 395.3 MB, free: 7.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.226e-05/0.01235, allocations: 55.41 kB / 395.4 MB, free: 7.004 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.01243, allocations: 298.2 kB / 395.6 MB, free: 6.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.01244, allocations: 25.7 kB / 395.7 MB, free: 6.664 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.0125, allocations: 278.1 kB / 395.9 MB, free: 6.387 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.01251, allocations: 39.69 kB / 396 MB, free: 6.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.01256, allocations: 99.7 kB / 396.1 MB, free: 6.242 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.0126, allocations: 0.5039 MB / 396.6 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.01262, allocations: 28.97 kB / 396.6 MB, free: 5.699 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.01274, allocations: 475.8 kB / 397.1 MB, free: 5.031 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.01295, allocations: 0.551 MB / 397.6 MB, free: 4.277 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01295, allocations: 0 / 397.6 MB, free: 4.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002743/0.01323, allocations: 361.8 kB / 398 MB, free: 3.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.01324, allocations: 11.98 kB / 398 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.01325, allocations: 16.12 kB / 398 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01326, allocations: 12 kB / 398 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.01338, allocations: 95.84 kB / 398.1 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.01339, allocations: 27.84 kB / 398.1 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.01351, allocations: 55.62 kB / 398.2 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.01353, allocations: 24 kB / 398.2 MB, free: 3.68 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 5.605e-05/0.01358, allocations: 200.2 kB / 398.4 MB, free: 3.473 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.01361, allocations: 23.86 kB / 398.4 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.01374, allocations: 138.2 kB / 398.6 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.01374, allocations: 0 / 398.6 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.01375, allocations: 0 / 398.6 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.01375, allocations: 0 / 398.6 MB, free: 3.301 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.01393, allocations: 380.9 kB / 398.9 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01393, allocations: 12.09 kB / 399 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.01396, allocations: 11.94 kB / 399 MB, free: 2.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01396, allocations: 4 kB / 399 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.01396, allocations: 4 kB / 399 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01396, allocations: 4 kB / 399 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01397, allocations: 0 / 399 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.77e-05/0.01404, allocations: 262.7 kB / 399.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.384e-05/0.01407, allocations: 19.91 kB / 399.3 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.01408, allocations: 11.88 kB / 399.3 MB, free: 2.527 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.01416, allocations: 4 kB / 399.3 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.01417, allocations: 19.92 kB / 399.3 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.01417, allocations: 4 kB / 399.3 MB, free: 2.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.298e-05/0.01422, allocations: 185.1 kB / 399.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01422, allocations: 0 / 399.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.01451, allocations: 91.88 kB / 399.6 MB, free: 2.23 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.0001281/0.01464, allocations: 163.5 kB / 399.7 MB, free: 2.059 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.01478, allocations: 163.4 kB / 399.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.01478, allocations: 4 kB / 399.9 MB, free: 1.895 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.644e-05/0.0148, allocations: 27.61 kB / 399.9 MB, free: 1.863 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.01504, allocations: 64.94 kB / 400 MB, free: 1.801 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006662/0.01571, allocations: 0.5335 MB / 400.5 MB, free: 1.227 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.646e-05/0.01573, allocations: 72.33 kB / 400.6 MB, free: 1.137 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.01585, allocations: 50.84 kB / 400.6 MB, free: 1.086 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.01593, allocations: 126.2 kB / 400.8 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01593, allocations: 0 / 400.8 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of Templates: time 0.004466/0.0204, allocations: 3.467 MB / 404.2 MB, free: 13.55 MB / 330.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.1378654381260276]