Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001048/0.001048, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.001303/0.001303, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 0.9602/0.9602, allocations: 177 MB / 204.8 MB, free: 5.57 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.2637/0.2637, allocations: 34.87 MB / 296.3 MB, free: 0.5586 MB / 266.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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.308e-05, allocations: 4.422 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006511/0.006534, allocations: 5.124 MB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004974/0.01151, allocations: 4.687 MB / 388.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.01162, allocations: 7.938 kB / 388.6 MB, free: 8.215 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.01194, allocations: 51.61 kB / 388.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.01375, allocations: 0.7182 MB / 389.4 MB, free: 7.441 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.01414, allocations: 175.6 kB / 389.6 MB, free: 7.27 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.01469, allocations: 389.9 kB / 389.9 MB, free: 6.887 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.01474, allocations: 9.812 kB / 389.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.01506, allocations: 211.3 kB / 390.2 MB, free: 6.668 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.01525, allocations: 111.7 kB / 390.3 MB, free: 6.559 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.01528, allocations: 8 kB / 390.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006586/0.01594, allocations: 331.3 kB / 390.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.733e-05/0.01603, allocations: 43.77 kB / 390.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.01613, allocations: 87.83 kB / 390.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006842/0.01682, allocations: 430.7 kB / 391.1 MB, free: 5.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.01683, allocations: 0 / 391.1 MB, free: 5.676 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.01683, allocations: 3.938 kB / 391.1 MB, free: 5.672 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.01683, allocations: 0 / 391.1 MB, free: 5.672 MB / 362.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.001002/0.01783, allocations: 0.6167 MB / 391.8 MB, free: 5.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.01788, allocations: 8.031 kB / 391.8 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.01808, allocations: 52.73 kB / 391.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.01834, allocations: 180.2 kB / 392 MB, free: 4.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/0.01851, allocations: 234.6 kB / 392.2 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.01855, allocations: 24.38 kB / 392.3 MB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.01909, allocations: 464 kB / 392.7 MB, free: 3.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.01911, allocations: 4.125 kB / 392.7 MB, free: 3.918 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.01914, allocations: 15.94 kB / 392.7 MB, free: 3.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.01917, allocations: 4 kB / 392.7 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006439/0.01982, allocations: 0.5216 MB / 393.3 MB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.02109, allocations: 1.339 MB / 394.6 MB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.02141, allocations: 123.4 kB / 394.7 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.02152, allocations: 59.66 kB / 394.8 MB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.02271, allocations: 0.7568 MB / 395.5 MB, free: 1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.02274, allocations: 45.33 kB / 395.6 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.674e-06/0.02274, allocations: 0 / 395.6 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006507/0.02339, allocations: 208.4 kB / 395.8 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.02343, allocations: 51.41 kB / 395.8 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.02365, allocations: 293.1 kB / 396.1 MB, free: 380 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.02369, allocations: 33.62 kB / 396.1 MB, free: 340 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.02379, allocations: 262.3 kB / 396.4 MB, free: 72 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.02383, allocations: 63.52 kB / 396.5 MB, free: 8 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.02391, allocations: 87.8 kB / 396.5 MB, free: 15.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.02403, allocations: 0.5039 MB / 397.1 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.576e-05/0.02408, allocations: 40.97 kB / 397.1 MB, free: 15.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.02429, allocations: 419.8 kB / 397.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.02459, allocations: 0.4984 MB / 398 MB, free: 14.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02459, allocations: 0 / 398 MB, free: 14.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003447/0.02494, allocations: 373.2 kB / 398.4 MB, free: 13.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.02495, allocations: 12 kB / 398.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.02496, allocations: 8 kB / 398.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.02498, allocations: 12 kB / 398.4 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.02519, allocations: 107.8 kB / 398.5 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.0252, allocations: 28.36 kB / 398.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.02532, allocations: 12 kB / 398.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.02534, allocations: 32 kB / 398.6 MB, free: 13.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 8.825e-05/0.02543, allocations: 192.3 kB / 398.8 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.02547, allocations: 23.91 kB / 398.8 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002013/0.02567, allocations: 150.7 kB / 398.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.02568, allocations: 7.984 kB / 398.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.02568, allocations: 0 / 398.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.02568, allocations: 0 / 398.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.02601, allocations: 421 kB / 399.3 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.02601, allocations: 4 kB / 399.4 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.02609, allocations: 31.97 kB / 399.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.02609, allocations: 0 / 399.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.0261, allocations: 0 / 399.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.0261, allocations: 8.031 kB / 399.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.02611, allocations: 0 / 399.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.02626, allocations: 274.5 kB / 399.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.0263, allocations: 27.84 kB / 399.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.02632, allocations: 3.984 kB / 399.7 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.02641, allocations: 8 kB / 399.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.182e-05/0.02643, allocations: 11.92 kB / 399.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.02644, allocations: 11.98 kB / 399.7 MB, free: 12.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.456e-05/0.02653, allocations: 185.1 kB / 399.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02653, allocations: 0 / 399.9 MB, free: 12.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003121/0.02684, allocations: 103.9 kB / 400 MB, free: 12 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0002226/0.02706, allocations: 178.9 kB / 400.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.02728, allocations: 174.5 kB / 400.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.02728, allocations: 0 / 400.3 MB, free: 11.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.448e-05/0.02731, allocations: 47.78 kB / 400.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.02759, allocations: 44.47 kB / 400.4 MB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/0.02852, allocations: 0.5029 MB / 400.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.416e-05/0.02856, allocations: 76.64 kB / 401 MB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.02869, allocations: 58.83 kB / 401.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.02874, allocations: 28.5 kB / 401.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of SimCode: time 6.32e-07/0.02874, allocations: 0 / 401.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of Templates: time 0.005774/0.03451, allocations: 3.844 MB / 404.9 MB, free: 7.051 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3097333582118154]