Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.001494/0.001494, allocations: 88.31 kB / 20.96 MB, free: 3.473 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.00173/0.00173, allocations: 161.7 kB / 24.27 MB, free: 168 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.478/1.478, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3262/0.3262, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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.LinearWater_pT_Ambient,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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 377.3 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.867e-05, allocations: 6.312 kB / 377.3 MB, free: 2.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03773/0.03776, allocations: 24.13 MB / 401.4 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.0419, allocations: 2.679 MB / 404.1 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.768e-05/0.04198, allocations: 0 / 404.1 MB, free: 8.004 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.04228, allocations: 55.59 kB / 404.2 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.0442, allocations: 0.7571 MB / 404.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.04455, allocations: 135.7 kB / 405.1 MB, free: 7.055 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.0451, allocations: 381.9 kB / 405.4 MB, free: 6.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.783e-05/0.04515, allocations: 9.812 kB / 405.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03985/0.085, allocations: 15.48 MB / 420.9 MB, free: 7.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.08542, allocations: 135.7 kB / 421.1 MB, free: 6.938 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.08547, allocations: 8 kB / 421.1 MB, free: 6.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009226/0.0947, allocations: 3.398 MB / 424.5 MB, free: 3.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.09481, allocations: 47.77 kB / 424.5 MB, free: 3.453 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.09498, allocations: 79.77 kB / 424.6 MB, free: 3.375 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.09605, allocations: 494.5 kB / 425.1 MB, free: 2.891 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.09606, allocations: 0 / 425.1 MB, free: 2.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09606, allocations: 0 / 425.1 MB, free: 2.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.09606, allocations: 0 / 425.1 MB, free: 2.891 MB / 394.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.001327/0.09739, allocations: 0.5246 MB / 425.6 MB, free: 2.336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.09744, allocations: 12.03 kB / 425.6 MB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.09767, allocations: 52.73 kB / 425.7 MB, free: 2.273 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.09803, allocations: 165.5 kB / 425.8 MB, free: 2.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.09827, allocations: 226.7 kB / 426 MB, free: 1.816 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.09831, allocations: 20.38 kB / 426.1 MB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/0.09904, allocations: 489.7 kB / 426.5 MB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.09906, allocations: 3.938 kB / 426.5 MB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.09909, allocations: 15.98 kB / 426.6 MB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.09912, allocations: 4 kB / 426.6 MB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009734/0.1001, allocations: 0.7237 MB / 427.3 MB, free: 0.5078 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.1017, allocations: 1.046 MB / 428.3 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.1021, allocations: 159.7 kB / 428.5 MB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.1023, allocations: 77.48 kB / 428.6 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/0.1041, allocations: 0.7387 MB / 429.3 MB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.1041, allocations: 38.5 kB / 429.3 MB, free: 14.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.1041, allocations: 0 / 429.3 MB, free: 14.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003777/0.1045, allocations: 117.5 kB / 429.5 MB, free: 14.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.1046, allocations: 55.39 kB / 429.5 MB, free: 14.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.1048, allocations: 234.7 kB / 429.7 MB, free: 13.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.1049, allocations: 33.7 kB / 429.8 MB, free: 13.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.1051, allocations: 219.5 kB / 430 MB, free: 13.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.1051, allocations: 47.64 kB / 430 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.1052, allocations: 90.08 kB / 430.1 MB, free: 13.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004793/0.1057, allocations: 334.8 kB / 430.5 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.289e-05/0.1058, allocations: 44.97 kB / 430.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.1062, allocations: 348.1 kB / 430.8 MB, free: 12.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005988/0.1068, allocations: 444.6 kB / 431.3 MB, free: 12.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.1068, allocations: 7.938 kB / 431.3 MB, free: 12.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006819/0.1075, allocations: 404.9 kB / 431.7 MB, free: 11.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.1075, allocations: 12 kB / 431.7 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.1076, allocations: 12.86 kB / 431.7 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.842e-05/0.1076, allocations: 16 kB / 431.7 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002622/0.1079, allocations: 95.84 kB / 431.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.599e-05/0.1079, allocations: 23.92 kB / 431.8 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.1081, allocations: 51.56 kB / 431.9 MB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.1082, allocations: 28 kB / 431.9 MB, free: 11.44 MB / 410.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.0001587/0.1083, allocations: 161.5 kB / 432.1 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.57e-05/0.1084, allocations: 19.91 kB / 432.1 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.1087, allocations: 153 kB / 432.2 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.1087, allocations: 0 / 432.2 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1087, allocations: 4 kB / 432.2 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1087, allocations: 0 / 432.2 MB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.1092, allocations: 348.6 kB / 432.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1092, allocations: 0 / 432.6 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.425e-05/0.1093, allocations: 15.98 kB / 432.6 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1093, allocations: 12.03 kB / 432.6 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1093, allocations: 0 / 432.6 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.1093, allocations: 3.938 kB / 432.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1093, allocations: 4 kB / 432.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.1096, allocations: 205.9 kB / 432.8 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.1096, allocations: 15.91 kB / 432.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.1097, allocations: 7.922 kB / 432.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1098, allocations: 11.94 kB / 432.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.1098, allocations: 7.984 kB / 432.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1098, allocations: 8.062 kB / 432.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.11, allocations: 161.2 kB / 433 MB, free: 10.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.11, allocations: 0 / 433 MB, free: 10.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005143/0.1105, allocations: 91.88 kB / 433.1 MB, free: 10.13 MB / 410.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.0003351/0.1109, allocations: 163 kB / 433.3 MB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.1112, allocations: 165.2 kB / 433.4 MB, free: 9.805 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1112, allocations: 0 / 433.4 MB, free: 9.805 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.306e-05/0.1112, allocations: 19.94 kB / 433.5 MB, free: 9.785 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.1117, allocations: 57.83 kB / 433.5 MB, free: 9.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1127, allocations: 0.5136 MB / 434 MB, free: 9.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.1129, allocations: 116.6 kB / 434.1 MB, free: 9.047 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.1131, allocations: 50.92 kB / 434.2 MB, free: 9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.1131, allocations: 24.5 kB / 434.2 MB, free: 8.977 MB / 410.7 MB Notification: Performance of SimCode: time 4.9e-07/0.1131, allocations: 0 / 434.2 MB, free: 8.977 MB / 410.7 MB Notification: Performance of Templates: time 0.00841/0.1215, allocations: 3.108 MB / 437.3 MB, free: 5.918 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",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.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2416050400352105]