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.002712/0.002712, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.00261/0.00261, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.587/1.587, allocations: 177 MB / 204.5 MB, free: 5.586 MB / 186.7 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.3705/0.3705, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|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.1.|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.774e-06/1.774e-06, allocations: 0 / 377.2 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.274e-05, allocations: 2.312 kB / 377.2 MB, free: 2.863 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.008127/0.00816, allocations: 5.096 MB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00671/0.01487, allocations: 4.664 MB / 387 MB, free: 9.059 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.01503, allocations: 4 kB / 387 MB, free: 9.055 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003542/0.01539, allocations: 51.61 kB / 387.1 MB, free: 9.004 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.01786, allocations: 0.7064 MB / 387.8 MB, free: 8.293 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.01831, allocations: 151.7 kB / 387.9 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006923/0.019, allocations: 393.8 kB / 388.3 MB, free: 7.758 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.238e-05/0.01907, allocations: 5.812 kB / 388.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003702/0.01944, allocations: 199.4 kB / 388.5 MB, free: 7.555 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.01968, allocations: 119.6 kB / 388.6 MB, free: 7.438 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.01971, allocations: 8 kB / 388.6 MB, free: 7.43 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.02073, allocations: 315.4 kB / 388.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.02085, allocations: 51.77 kB / 389 MB, free: 7.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.02101, allocations: 83.75 kB / 389.1 MB, free: 6.988 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.02208, allocations: 450.6 kB / 389.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.02209, allocations: 0 / 389.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.02209, allocations: 0 / 389.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.0221, allocations: 4 kB / 389.5 MB, free: 6.543 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.001491/0.02359, allocations: 0.6164 MB / 390.1 MB, free: 5.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.02364, allocations: 12.03 kB / 390.1 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.02392, allocations: 56.72 kB / 390.2 MB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.02432, allocations: 168.3 kB / 390.3 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.02463, allocations: 226.7 kB / 390.6 MB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/0.02469, allocations: 28.38 kB / 390.6 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007486/0.02544, allocations: 471.3 kB / 391.1 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.02545, allocations: 4.188 kB / 391.1 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.02549, allocations: 15.94 kB / 391.1 MB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.02552, allocations: 4 kB / 391.1 MB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000911/0.02643, allocations: 0.6065 MB / 391.7 MB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.0282, allocations: 1.343 MB / 393 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.02857, allocations: 147.3 kB / 393.2 MB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.0287, allocations: 71.66 kB / 393.2 MB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001637/0.03034, allocations: 0.7529 MB / 394 MB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.03038, allocations: 37.39 kB / 394 MB, free: 1.707 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.03038, allocations: 0 / 394 MB, free: 1.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008108/0.03119, allocations: 228.6 kB / 394.3 MB, free: 1.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.03125, allocations: 55.41 kB / 394.3 MB, free: 1.414 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/0.03185, allocations: 301.1 kB / 394.6 MB, free: 1.102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.03189, allocations: 29.7 kB / 394.6 MB, free: 1.066 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.0321, allocations: 266.3 kB / 394.9 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.03216, allocations: 55.58 kB / 394.9 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.03229, allocations: 91.75 kB / 395 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003126/0.0326, allocations: 0.504 MB / 395.5 MB, free: 136 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.0327, allocations: 48.91 kB / 395.6 MB, free: 88 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.0332, allocations: 435.8 kB / 396 MB, free: 15.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/0.03386, allocations: 0.5217 MB / 396.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.03386, allocations: 4 kB / 396.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006431/0.0345, allocations: 381.6 kB / 396.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.03453, allocations: 15 kB / 396.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.03455, allocations: 12 kB / 396.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.03457, allocations: 12 kB / 397 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.03497, allocations: 107.8 kB / 397.1 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.271e-05/0.03499, allocations: 15.94 kB / 397.1 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.03521, allocations: 23.98 kB / 397.1 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.03526, allocations: 28 kB / 397.1 MB, free: 14.19 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 0.0001853/0.03544, allocations: 192.3 kB / 397.3 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/0.03552, allocations: 27.86 kB / 397.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003771/0.0359, allocations: 158.8 kB / 397.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.03591, allocations: 0 / 397.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.03591, allocations: 0 / 397.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.03591, allocations: 4 kB / 397.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.0366, allocations: 444.8 kB / 397.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.0366, allocations: 0 / 397.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.03678, allocations: 27.98 kB / 398 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.03678, allocations: 0 / 398 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.0368, allocations: 4.125 kB / 398 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.03681, allocations: 7.984 kB / 398 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.03681, allocations: 0 / 398 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.03714, allocations: 283.4 kB / 398.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.814e-05/0.03722, allocations: 27.84 kB / 398.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.03726, allocations: 4 kB / 398.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.03745, allocations: 16.02 kB / 398.3 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.03749, allocations: 11.92 kB / 398.3 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.03751, allocations: 4 kB / 398.3 MB, free: 12.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.03771, allocations: 201.1 kB / 398.5 MB, free: 12.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03771, allocations: 0 / 398.5 MB, free: 12.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005037/0.03821, allocations: 99.88 kB / 398.6 MB, free: 12.62 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.0003436/0.03856, allocations: 163 kB / 398.8 MB, free: 12.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003979/0.03895, allocations: 196.8 kB / 399 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.03896, allocations: 4 kB / 399 MB, free: 12.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.032e-05/0.03904, allocations: 44.8 kB / 399 MB, free: 12.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004871/0.03952, allocations: 64.48 kB / 399.1 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.04068, allocations: 495 kB / 399.5 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.04082, allocations: 116.9 kB / 399.7 MB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002131/0.04104, allocations: 58.84 kB / 399.7 MB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.0411, allocations: 24.5 kB / 399.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of SimCode: time 9.11e-07/0.0411, allocations: 3.938 kB / 399.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of Templates: time 0.009256/0.05035, allocations: 3.454 MB / 403.2 MB, free: 7.992 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.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: 5.201792208943516]