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.0019/0.0019, 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.002295/0.002295, 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.476/1.476, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.3217/0.3217, allocations: 46.95 MB / 361.6 MB, free: 3.926 MB / 286.1 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 0.003933/0.003933, allocations: 91.78 kB / 0.4974 GB, free: 7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3657, allocations: 66.09 MB / 0.5619 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006933/0.3727, allocations: 4.684 MB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005276/0.3779, allocations: 4.084 MB / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.378, allocations: 0 / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.3783, allocations: 59.61 kB / 0.5706 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.3802, allocations: 0.672 MB / 0.5712 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.3806, allocations: 166.2 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005933/0.3812, allocations: 370.1 kB / 0.5717 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.332e-05/0.3813, allocations: 21.73 kB / 0.5718 GB, free: 9.848 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.3816, allocations: 163.4 kB / 0.5719 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.3818, allocations: 111.5 kB / 0.572 GB, free: 9.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.3818, allocations: 8 kB / 0.572 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000777/0.3826, allocations: 327.6 kB / 0.5723 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.412e-05/0.3827, allocations: 47.75 kB / 0.5724 GB, free: 9.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.3828, allocations: 99.64 kB / 0.5725 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006914/0.3835, allocations: 432.9 kB / 0.5729 GB, free: 8.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.3835, allocations: 4 kB / 0.5729 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3835, allocations: 0 / 0.5729 GB, free: 8.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3835, allocations: 0 / 0.5729 GB, free: 8.684 MB / 414.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.001021/0.3845, allocations: 0.5207 MB / 0.5734 GB, free: 8.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3846, allocations: 8.031 kB / 0.5734 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.3847, allocations: 28.83 kB / 0.5734 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.3851, allocations: 170.2 kB / 0.5736 GB, free: 7.906 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.3853, allocations: 234.6 kB / 0.5738 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.3853, allocations: 28.36 kB / 0.5739 GB, free: 7.598 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.386, allocations: 0.4949 MB / 0.5743 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.386, allocations: 7.938 kB / 0.5743 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.029e-05/0.386, allocations: 12 kB / 0.5744 GB, free: 7.016 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.386, allocations: 4 kB / 0.5744 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008751/0.3869, allocations: 0.7196 MB / 0.5751 GB, free: 6.289 MB / 414.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.001363/0.3883, allocations: 1.042 MB / 0.5761 GB, free: 5.195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.3887, allocations: 139.5 kB / 0.5762 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3888, allocations: 72.75 kB / 0.5763 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/0.3902, allocations: 0.6439 MB / 0.5769 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.3902, allocations: 42.5 kB / 0.577 GB, free: 4.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.3902, allocations: 0 / 0.577 GB, free: 4.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006926/0.3909, allocations: 217.5 kB / 0.5772 GB, free: 4.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.391, allocations: 55.34 kB / 0.5772 GB, free: 3.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.3912, allocations: 238.6 kB / 0.5774 GB, free: 3.738 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3912, allocations: 25.7 kB / 0.5775 GB, free: 3.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.3914, allocations: 219.5 kB / 0.5777 GB, free: 3.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.3914, allocations: 51.59 kB / 0.5777 GB, free: 3.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3915, allocations: 82.08 kB / 0.5778 GB, free: 3.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3917, allocations: 334.8 kB / 0.5781 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.295e-05/0.3918, allocations: 48.84 kB / 0.5782 GB, free: 2.965 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.3921, allocations: 316.1 kB / 0.5785 GB, free: 2.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005023/0.3926, allocations: 415.5 kB / 0.5789 GB, free: 1.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3926, allocations: 4 kB / 0.5789 GB, free: 1.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005931/0.3932, allocations: 377.5 kB / 0.5792 GB, free: 1.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3933, allocations: 11.94 kB / 0.5792 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.3933, allocations: 12 kB / 0.5793 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.3933, allocations: 15.94 kB / 0.5793 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.3936, allocations: 107.8 kB / 0.5794 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/0.3937, allocations: 19.88 kB / 0.5794 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.3939, allocations: 12 kB / 0.5794 GB, free: 1.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.3939, allocations: 32.33 kB / 0.5794 GB, free: 1.41 MB / 414.1 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.0001503/0.3941, allocations: 157.5 kB / 0.5796 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.3941, allocations: 19.89 kB / 0.5796 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.3945, allocations: 150.9 kB / 0.5797 GB, free: 1.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.3945, allocations: 4 kB / 0.5797 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3945, allocations: 3.938 kB / 0.5798 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3945, allocations: 0 / 0.5798 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005915/0.3951, allocations: 378.9 kB / 0.5801 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3951, allocations: 0 / 0.5801 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.3952, allocations: 27.98 kB / 0.5801 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3952, allocations: 3.984 kB / 0.5801 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.3952, allocations: 7.938 kB / 0.5801 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3953, allocations: 4 kB / 0.5802 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3953, allocations: 4.031 kB / 0.5802 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002649/0.3955, allocations: 212.2 kB / 0.5804 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.3956, allocations: 27.84 kB / 0.5804 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.3956, allocations: 7.938 kB / 0.5804 GB, free: 352 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.3958, allocations: 11.98 kB / 0.5804 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.995e-05/0.3959, allocations: 8.109 kB / 0.5804 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.3959, allocations: 15.98 kB / 0.5804 GB, free: 316 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.396, allocations: 148.5 kB / 0.5806 GB, free: 168 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.396, allocations: 0 / 0.5806 GB, free: 168 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005116/0.3965, allocations: 99.86 kB / 0.5807 GB, free: 68 kB / 414.1 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.0003175/0.3968, allocations: 167 kB / 0.5808 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.3972, allocations: 169.9 kB / 0.581 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.3972, allocations: 0 / 0.581 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.915e-05/0.3973, allocations: 36.11 kB / 0.581 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.3977, allocations: 48.33 kB / 0.5811 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.3987, allocations: 0.5429 MB / 0.5816 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.3988, allocations: 120.6 kB / 0.5817 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.77e-05/0.3989, allocations: 31.42 kB / 0.5817 GB, free: 14.91 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3989, allocations: 0 / 0.5817 GB, free: 14.91 MB / 430.1 MB Notification: Performance of Templates: time 0.00637/0.4053, allocations: 3.615 MB / 0.5853 GB, free: 11.29 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/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: 8.045499854721129]