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.001417/0.001417, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001533/0.001533, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 18.57 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.522/1.522, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.2509/0.2509, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.671e-05/2.853e-05, allocations: 2.312 kB / 347 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005018/0.005046, allocations: 4.241 MB / 351.2 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.008352, allocations: 3.604 MB / 354.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.008559, allocations: 0 / 354.8 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.008892, allocations: 51.62 kB / 354.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.01097, allocations: 0.7648 MB / 355.6 MB, free: 1.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.01128, allocations: 131.8 kB / 355.8 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.01178, allocations: 377.9 kB / 356.1 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.496e-05/0.01183, allocations: 17.8 kB / 356.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.0121, allocations: 183.5 kB / 356.3 MB, free: 384 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.01232, allocations: 127.7 kB / 356.5 MB, free: 256 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.01236, allocations: 11.98 kB / 356.5 MB, free: 244 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009566/0.01331, allocations: 391.2 kB / 356.8 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.01344, allocations: 51.75 kB / 356.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.01359, allocations: 83.81 kB / 357 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.01478, allocations: 482.5 kB / 357.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.01478, allocations: 4 kB / 357.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01478, allocations: 3.938 kB / 357.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.01479, allocations: 3.984 kB / 357.5 MB, free: 15.24 MB / 298.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.001345/0.01614, allocations: 0.5246 MB / 358 MB, free: 14.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.01618, allocations: 12.03 kB / 358 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.01643, allocations: 52.73 kB / 358.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.01682, allocations: 165.5 kB / 358.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.01707, allocations: 230.7 kB / 358.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.01712, allocations: 24.38 kB / 358.5 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007601/0.01788, allocations: 485.7 kB / 358.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.01789, allocations: 4.188 kB / 358.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.01793, allocations: 11.94 kB / 359 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.01796, allocations: 11.98 kB / 359 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.01896, allocations: 0.7237 MB / 359.7 MB, free: 12.84 MB / 298.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.001591/0.02055, allocations: 1.039 MB / 360.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004048/0.02096, allocations: 152.7 kB / 360.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.02111, allocations: 77.48 kB / 361 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/0.02287, allocations: 0.7465 MB / 361.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.0229, allocations: 30.56 kB / 361.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.0229, allocations: 4 kB / 361.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003593/0.02326, allocations: 117.5 kB / 361.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.02331, allocations: 59.34 kB / 361.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.02357, allocations: 235.8 kB / 362.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.0236, allocations: 29.7 kB / 362.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.02378, allocations: 223.5 kB / 362.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.02383, allocations: 47.67 kB / 362.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.02395, allocations: 86.09 kB / 362.5 MB, free: 9.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.02414, allocations: 330.8 kB / 362.8 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.02424, allocations: 48.95 kB / 362.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.02463, allocations: 340.1 kB / 363.2 MB, free: 9.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.02522, allocations: 444.6 kB / 363.6 MB, free: 8.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.02522, allocations: 4 kB / 363.7 MB, free: 8.434 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006767/0.0259, allocations: 405.8 kB / 364 MB, free: 8.031 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.02592, allocations: 11.94 kB / 364.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.02594, allocations: 12 kB / 364.1 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/0.02597, allocations: 16.03 kB / 364.1 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.02626, allocations: 99.83 kB / 364.2 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/0.02628, allocations: 19.92 kB / 364.2 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.02655, allocations: 55.56 kB / 364.3 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.02659, allocations: 31.94 kB / 364.3 MB, free: 7.789 MB / 298.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.0001606/0.02675, allocations: 149.6 kB / 364.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.02682, allocations: 35.78 kB / 364.5 MB, free: 7.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.02716, allocations: 144.6 kB / 364.6 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.02717, allocations: 0 / 364.6 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.02717, allocations: 0 / 364.6 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.02718, allocations: 0 / 364.6 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.02773, allocations: 360.5 kB / 365 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02773, allocations: 4.156 kB / 365 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.0278, allocations: 19.98 kB / 365 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.0278, allocations: 0 / 365 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.02781, allocations: 4 kB / 365 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/0.02782, allocations: 7.875 kB / 365 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.02782, allocations: 0 / 365 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.02808, allocations: 205.9 kB / 365.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.02813, allocations: 15.91 kB / 365.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.02817, allocations: 7.953 kB / 365.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.02832, allocations: 15.92 kB / 365.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.02835, allocations: 11.98 kB / 365.3 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.02836, allocations: 4 kB / 365.3 MB, free: 6.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001654/0.02853, allocations: 157.2 kB / 365.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02853, allocations: 0 / 365.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005389/0.02907, allocations: 87.88 kB / 365.5 MB, free: 6.484 MB / 298.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.0003539/0.02942, allocations: 155.1 kB / 365.6 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003391/0.02976, allocations: 174 kB / 365.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02976, allocations: 0 / 365.8 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.0298, allocations: 15.94 kB / 365.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.03029, allocations: 57 kB / 365.9 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.03136, allocations: 0.5193 MB / 366.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.03149, allocations: 116.6 kB / 366.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.03168, allocations: 58.86 kB / 366.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.03174, allocations: 24.5 kB / 366.6 MB, free: 5.312 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03174, allocations: 0 / 366.6 MB, free: 5.312 MB / 298.7 MB Notification: Performance of Templates: time 0.008111/0.03985, allocations: 3.109 MB / 369.7 MB, free: 2.246 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/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: 5.128605217905715]