Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001903/0.001903, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002389/0.002389, allocations: 219.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 230.5 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2294/0.2294, allocations: 46.94 MB / 361.5 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 80.16 kB / 0.4974 GB, free: 7.012 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3215, allocations: 66.09 MB / 0.562 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03222/0.3537, allocations: 24.15 MB / 0.5855 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003332/0.357, allocations: 2.667 MB / 0.5881 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.662e-05/0.3571, allocations: 0 / 0.5881 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.3574, allocations: 59.59 kB / 0.5882 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.3592, allocations: 0.7344 MB / 0.5889 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.3596, allocations: 146.7 kB / 0.5891 GB, free: 8.098 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.3601, allocations: 370.1 kB / 0.5894 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.3602, allocations: 5.812 kB / 0.5894 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0341/0.3943, allocations: 15.35 MB / 0.6044 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003768/0.3946, allocations: 147.4 kB / 0.6045 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.3947, allocations: 12 kB / 0.6046 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007765/0.4024, allocations: 3.356 MB / 0.6078 GB, free: 4.73 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.4025, allocations: 55.69 kB / 0.6079 GB, free: 4.676 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.4027, allocations: 95.64 kB / 0.608 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008708/0.4036, allocations: 458.5 kB / 0.6084 GB, free: 4.133 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4036, allocations: 0 / 0.6084 GB, free: 4.133 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4036, allocations: 0 / 0.6084 GB, free: 4.133 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.4036, allocations: 3.938 kB / 0.6084 GB, free: 4.129 MB / 446.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.001153/0.4047, allocations: 0.5286 MB / 0.6089 GB, free: 3.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4048, allocations: 8.031 kB / 0.6089 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.4049, allocations: 32.73 kB / 0.609 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.4052, allocations: 174.2 kB / 0.6091 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.4054, allocations: 230.7 kB / 0.6094 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.4054, allocations: 28.12 kB / 0.6094 GB, free: 3.035 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.4061, allocations: 489 kB / 0.6098 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4061, allocations: 3.984 kB / 0.6099 GB, free: 2.488 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.4061, allocations: 12 kB / 0.6099 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.4061, allocations: 8 kB / 0.6099 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008149/0.4069, allocations: 0.7118 MB / 0.6106 GB, free: 1.758 MB / 446.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.001349/0.4083, allocations: 1.046 MB / 0.6116 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.4086, allocations: 143.8 kB / 0.6117 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.4088, allocations: 81.47 kB / 0.6118 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/0.4103, allocations: 0.7231 MB / 0.6125 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.4103, allocations: 34.56 kB / 0.6125 GB, free: 15.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.4103, allocations: 4 kB / 0.6125 GB, free: 15.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002869/0.4106, allocations: 117.5 kB / 0.6127 GB, free: 15.51 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.4107, allocations: 59.34 kB / 0.6127 GB, free: 15.44 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.4109, allocations: 236.7 kB / 0.6129 GB, free: 15.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.4109, allocations: 25.7 kB / 0.613 GB, free: 15.17 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.4111, allocations: 223.5 kB / 0.6132 GB, free: 14.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.4111, allocations: 51.61 kB / 0.6132 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.812e-05/0.4112, allocations: 86.03 kB / 0.6133 GB, free: 14.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.4114, allocations: 322.8 kB / 0.6136 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.01e-05/0.4114, allocations: 60.77 kB / 0.6137 GB, free: 14.42 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003096/0.4118, allocations: 347.2 kB / 0.614 GB, free: 13.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.4122, allocations: 440.6 kB / 0.6144 GB, free: 13.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4122, allocations: 0 / 0.6144 GB, free: 13.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005917/0.4128, allocations: 385.8 kB / 0.6148 GB, free: 12.97 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.4128, allocations: 9.719 kB / 0.6148 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4129, allocations: 16.12 kB / 0.6148 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.4129, allocations: 12 kB / 0.6148 GB, free: 12.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002718/0.4132, allocations: 107.7 kB / 0.6149 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/0.4132, allocations: 19.92 kB / 0.615 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.4134, allocations: 55.62 kB / 0.615 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.4135, allocations: 27.94 kB / 0.615 GB, free: 12.73 MB / 462.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.0001382/0.4136, allocations: 153.6 kB / 0.6152 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.4136, allocations: 23.84 kB / 0.6152 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.4139, allocations: 141 kB / 0.6153 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.414, allocations: 7.938 kB / 0.6153 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.414, allocations: 0 / 0.6153 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.414, allocations: 0 / 0.6153 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.4144, allocations: 352.5 kB / 0.6157 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4144, allocations: 8.094 kB / 0.6157 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.4145, allocations: 15.92 kB / 0.6157 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.4145, allocations: 4 kB / 0.6157 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4145, allocations: 0 / 0.6157 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4145, allocations: 3.938 kB / 0.6157 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4145, allocations: 4 kB / 0.6157 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.4147, allocations: 205.9 kB / 0.6159 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.403e-05/0.4148, allocations: 15.84 kB / 0.6159 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.4148, allocations: 8 kB / 0.6159 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.415, allocations: 7.984 kB / 0.6159 GB, free: 11.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.415, allocations: 15.98 kB / 0.616 GB, free: 11.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.415, allocations: 8 kB / 0.616 GB, free: 11.68 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001408/0.4151, allocations: 156.5 kB / 0.6161 GB, free: 11.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4151, allocations: 0 / 0.6161 GB, free: 11.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005028/0.4156, allocations: 95.83 kB / 0.6162 GB, free: 11.44 MB / 462.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.0002712/0.4159, allocations: 151.1 kB / 0.6163 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.4162, allocations: 168.4 kB / 0.6165 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4162, allocations: 2 kB / 0.6165 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.4163, allocations: 27.92 kB / 0.6165 GB, free: 11.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.4167, allocations: 52.62 kB / 0.6166 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009966/0.4177, allocations: 0.5648 MB / 0.6171 GB, free: 10.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.4178, allocations: 116.6 kB / 0.6172 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.4179, allocations: 31.42 kB / 0.6173 GB, free: 10.27 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4179, allocations: 0 / 0.6173 GB, free: 10.27 MB / 462.1 MB Notification: Performance of Templates: time 0.006097/0.424, allocations: 3.481 MB / 0.6207 GB, free: 6.793 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.970412500668317]