Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001129/0.001129, allocations: 88.25 kB / 22.22 MB, free: 2.281 MB / 18.57 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.001241/0.001241, allocations: 166.9 kB / 25.61 MB, free: 8.898 MB / 18.57 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.079/1.079, allocations: 177 MB / 205.9 MB, free: 4.445 MB / 186.7 MB " [Timeout remaining time 179] 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.1497/0.1497, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.73e-05, allocations: 2.844 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005852/0.005879, allocations: 4.675 MB / 384.7 MB, free: 18.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.008436, allocations: 4.111 MB / 388.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.008544, allocations: 0 / 388.8 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.008813, allocations: 51.62 kB / 388.9 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.01022, allocations: 0.8156 MB / 389.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.01046, allocations: 139.8 kB / 389.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.01087, allocations: 401.8 kB / 390.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.01091, allocations: 9.797 kB / 390.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.01109, allocations: 203.4 kB / 390.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.01126, allocations: 135.7 kB / 390.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.01128, allocations: 11.94 kB / 390.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005812/0.01186, allocations: 407.3 kB / 391 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.01192, allocations: 51.75 kB / 391 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.01199, allocations: 79.77 kB / 391.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.01248, allocations: 466.6 kB / 391.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01248, allocations: 0 / 391.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01248, allocations: 0 / 391.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.01249, allocations: 0 / 391.6 MB, free: 11.15 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.0006729/0.01316, allocations: 0.6323 MB / 392.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.01319, allocations: 8.031 kB / 392.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.01333, allocations: 52.73 kB / 392.2 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.01348, allocations: 172.3 kB / 392.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/0.01355, allocations: 230.6 kB / 392.6 MB, free: 9.953 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.01357, allocations: 28.38 kB / 392.7 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.01381, allocations: 414.3 kB / 393.1 MB, free: 9.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.01382, allocations: 4.125 kB / 393.1 MB, free: 9.438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.01384, allocations: 15.94 kB / 393.1 MB, free: 9.422 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.01386, allocations: 11.98 kB / 393.1 MB, free: 9.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.01411, allocations: 462.6 kB / 393.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007189/0.01483, allocations: 1.312 MB / 394.9 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.01502, allocations: 138.7 kB / 395 MB, free: 7.441 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.01506, allocations: 68.28 kB / 395.1 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007882/0.01585, allocations: 0.8166 MB / 395.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.01587, allocations: 41.39 kB / 395.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.01587, allocations: 0 / 395.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001629/0.01603, allocations: 105.4 kB / 396 MB, free: 6.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.5e-05/0.01605, allocations: 51.41 kB / 396.1 MB, free: 6.312 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.01614, allocations: 302.2 kB / 396.4 MB, free: 6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/0.01615, allocations: 29.7 kB / 396.4 MB, free: 5.965 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.01621, allocations: 274.1 kB / 396.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.01623, allocations: 47.67 kB / 396.7 MB, free: 5.645 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.01628, allocations: 91.72 kB / 396.8 MB, free: 5.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.01633, allocations: 0.5 MB / 397.3 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.01635, allocations: 32.97 kB / 397.3 MB, free: 5.004 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.01647, allocations: 463.8 kB / 397.8 MB, free: 4.348 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.0167, allocations: 0.551 MB / 398.3 MB, free: 3.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.0167, allocations: 4 kB / 398.3 MB, free: 3.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000286/0.01699, allocations: 365.3 kB / 398.7 MB, free: 3.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.017, allocations: 8 kB / 398.7 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.01701, allocations: 12 kB / 398.7 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01703, allocations: 12 kB / 398.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.01715, allocations: 99.83 kB / 398.8 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01716, allocations: 16.5 kB / 398.9 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.01728, allocations: 59.5 kB / 398.9 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.0173, allocations: 31.98 kB / 398.9 MB, free: 2.992 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 6.468e-05/0.01737, allocations: 200.2 kB / 399.1 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.0174, allocations: 23.86 kB / 399.2 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001547/0.01755, allocations: 142.2 kB / 399.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.01756, allocations: 0 / 399.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01756, allocations: 0 / 399.3 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01757, allocations: 8.031 kB / 399.3 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.01778, allocations: 380.8 kB / 399.7 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01778, allocations: 0 / 399.7 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.701e-05/0.01781, allocations: 15.94 kB / 399.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01781, allocations: 0 / 399.7 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.01781, allocations: 7.984 kB / 399.7 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01782, allocations: 4.094 kB / 399.7 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01782, allocations: 0 / 399.7 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.79e-05/0.01791, allocations: 262.7 kB / 400 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.01793, allocations: 19.89 kB / 400 MB, free: 1.848 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.01795, allocations: 11.89 kB / 400 MB, free: 1.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.01802, allocations: 8 kB / 400 MB, free: 1.828 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.01804, allocations: 7.922 kB / 400 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.01804, allocations: 4 kB / 400 MB, free: 1.816 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.785e-05/0.01809, allocations: 193.1 kB / 400.2 MB, free: 1.629 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01809, allocations: 0 / 400.2 MB, free: 1.629 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002989/0.01839, allocations: 91.94 kB / 400.3 MB, free: 1.539 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.0001781/0.01857, allocations: 163 kB / 400.4 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.01871, allocations: 159.2 kB / 400.6 MB, free: 1.211 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.01872, allocations: 4 kB / 400.6 MB, free: 1.207 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.6e-05/0.01873, allocations: 31.55 kB / 400.6 MB, free: 1.172 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.01899, allocations: 48.58 kB / 400.7 MB, free: 1.125 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.01974, allocations: 0.5341 MB / 401.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.84e-05/0.01977, allocations: 72.33 kB / 401.3 MB, free: 472 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.01988, allocations: 50.92 kB / 401.3 MB, free: 420 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.01999, allocations: 122.2 kB / 401.5 MB, free: 296 kB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01999, allocations: 0 / 401.5 MB, free: 296 kB / 314.7 MB Notification: Performance of Templates: time 0.005671/0.02567, allocations: 3.48 MB / 404.9 MB, free: 12.88 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4041749737225473]