Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001444/0.001444, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001565/0.001565, allocations: 218.3 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 207.6 MB / 234.5 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2023/0.2023, allocations: 44.24 MB / 331 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 71.12 kB / 468.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1019, allocations: 61.03 MB / 0.5174 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006163/0.1081, allocations: 4.602 MB / 0.5219 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004651/0.1127, allocations: 4.041 MB / 0.5258 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1129, allocations: 4 kB / 0.5259 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.1131, allocations: 55.59 kB / 0.5259 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.115, allocations: 0.7344 MB / 0.5266 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1153, allocations: 135.7 kB / 0.5268 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005994/0.1159, allocations: 390.1 kB / 0.5271 GB, free: 12.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.822e-05/0.116, allocations: 5.812 kB / 0.5271 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.1162, allocations: 143.5 kB / 0.5273 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.1165, allocations: 151.4 kB / 0.5274 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.1165, allocations: 8 kB / 0.5274 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009738/0.1175, allocations: 451.4 kB / 0.5279 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.586e-05/0.1176, allocations: 39.89 kB / 0.5279 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.1177, allocations: 111.5 kB / 0.528 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008007/0.1185, allocations: 466.5 kB / 0.5284 GB, free: 11.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1185, allocations: 3.984 kB / 0.5284 GB, free: 11.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1185, allocations: 0 / 0.5284 GB, free: 11.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.423e-06/0.1185, allocations: 0 / 0.5284 GB, free: 11.44 MB / 414.1 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.001099/0.1196, allocations: 0.5324 MB / 0.529 GB, free: 10.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1196, allocations: 8.031 kB / 0.529 GB, free: 10.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.1198, allocations: 32.8 kB / 0.529 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.1201, allocations: 162.3 kB / 0.5292 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.1203, allocations: 226.6 kB / 0.5294 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1203, allocations: 24.38 kB / 0.5294 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.1209, allocations: 338.8 kB / 0.5297 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1209, allocations: 3.938 kB / 0.5297 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/0.1209, allocations: 12 kB / 0.5297 GB, free: 9.988 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.1209, allocations: 8 kB / 0.5297 GB, free: 9.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008415/0.1218, allocations: 0.7586 MB / 0.5305 GB, free: 9.219 MB / 414.1 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.001439/0.1232, allocations: 1.276 MB / 0.5317 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.1235, allocations: 155.8 kB / 0.5319 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1237, allocations: 85.41 kB / 0.532 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/0.1252, allocations: 0.7388 MB / 0.5327 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1252, allocations: 30.56 kB / 0.5327 GB, free: 6.789 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1252, allocations: 0 / 0.5327 GB, free: 6.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002717/0.1255, allocations: 129.3 kB / 0.5328 GB, free: 6.656 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.1255, allocations: 51.41 kB / 0.5329 GB, free: 6.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1257, allocations: 223.9 kB / 0.5331 GB, free: 6.367 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1258, allocations: 25.7 kB / 0.5331 GB, free: 6.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1259, allocations: 231.4 kB / 0.5333 GB, free: 6.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.1259, allocations: 47.69 kB / 0.5334 GB, free: 6.059 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.126, allocations: 89.97 kB / 0.5335 GB, free: 5.965 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1262, allocations: 326.8 kB / 0.5338 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.1263, allocations: 48.84 kB / 0.5338 GB, free: 5.586 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.1266, allocations: 339.2 kB / 0.5342 GB, free: 5.109 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.127, allocations: 452.5 kB / 0.5346 GB, free: 4.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1271, allocations: 4 kB / 0.5346 GB, free: 4.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000572/0.1276, allocations: 377.7 kB / 0.5349 GB, free: 4.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1276, allocations: 8.219 kB / 0.535 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1277, allocations: 16 kB / 0.535 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/0.1277, allocations: 19.94 kB / 0.535 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.1279, allocations: 95.83 kB / 0.5351 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/0.128, allocations: 19.94 kB / 0.5351 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.1282, allocations: 47.62 kB / 0.5351 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.1282, allocations: 31.98 kB / 0.5352 GB, free: 3.906 MB / 414.1 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.0001339/0.1284, allocations: 157.5 kB / 0.5353 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.1284, allocations: 15.91 kB / 0.5353 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.1287, allocations: 140.5 kB / 0.5355 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.1287, allocations: 7.938 kB / 0.5355 GB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1287, allocations: 3.984 kB / 0.5355 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1287, allocations: 4.047 kB / 0.5355 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.1292, allocations: 391.9 kB / 0.5359 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1292, allocations: 0 / 0.5359 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.22e-05/0.1292, allocations: 15.94 kB / 0.5359 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1292, allocations: 0 / 0.5359 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1292, allocations: 8 kB / 0.5359 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1292, allocations: 0 / 0.5359 GB, free: 3.098 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1292, allocations: 3.984 kB / 0.5359 GB, free: 3.094 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1294, allocations: 209.9 kB / 0.5361 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.663e-05/0.1295, allocations: 19.84 kB / 0.5361 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.1295, allocations: 7.938 kB / 0.5361 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1297, allocations: 8 kB / 0.5361 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.1297, allocations: 11.98 kB / 0.5361 GB, free: 2.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.1297, allocations: 4 kB / 0.5361 GB, free: 2.812 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.1299, allocations: 156.5 kB / 0.5363 GB, free: 2.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1299, allocations: 0 / 0.5363 GB, free: 2.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004662/0.1303, allocations: 91.91 kB / 0.5364 GB, free: 2.566 MB / 414.1 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.0002553/0.1306, allocations: 159.1 kB / 0.5365 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.1309, allocations: 166.2 kB / 0.5367 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1309, allocations: 0 / 0.5367 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.627e-05/0.1309, allocations: 28.11 kB / 0.5367 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1313, allocations: 44.33 kB / 0.5368 GB, free: 2.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/0.1323, allocations: 0.5612 MB / 0.5373 GB, free: 1.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1326, allocations: 0.7285 MB / 0.538 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.1327, allocations: 27.44 kB / 0.538 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1327, allocations: 0 / 0.538 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of Templates: time 0.1733/0.306, allocations: 3.357 MB / 0.5413 GB, free: 27.91 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.921614686027169]