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.001761/0.001761, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002387/0.002387, allocations: 214 kB / 23.73 MB, free: 4.406 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.5/1.5, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.2507/0.2507, allocations: 46.95 MB / 360.8 MB, free: 3.961 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.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.1.|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.1.|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 0.002494/0.002494, allocations: 83.88 kB / 0.4967 GB, free: 7.051 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4075, allocations: 66.09 MB / 0.5612 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006637/0.4142, allocations: 4.312 MB / 0.5654 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004933/0.4191, allocations: 3.582 MB / 0.5689 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.4193, allocations: 4 kB / 0.5689 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.4196, allocations: 55.62 kB / 0.569 GB, free: 12 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.4216, allocations: 0.7454 MB / 0.5697 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003816/0.422, allocations: 133.2 kB / 0.5698 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006019/0.4226, allocations: 374.1 kB / 0.5702 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.4226, allocations: 13.8 kB / 0.5702 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.4229, allocations: 151.5 kB / 0.5703 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.4232, allocations: 143.5 kB / 0.5705 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.4232, allocations: 12 kB / 0.5705 GB, free: 10.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009178/0.4241, allocations: 379.5 kB / 0.5709 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.4242, allocations: 51.73 kB / 0.5709 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.4243, allocations: 95.59 kB / 0.571 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009461/0.4253, allocations: 453 kB / 0.5714 GB, free: 9.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4253, allocations: 3.938 kB / 0.5714 GB, free: 9.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4253, allocations: 0 / 0.5714 GB, free: 9.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.4253, allocations: 0 / 0.5714 GB, free: 9.484 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.001238/0.4265, allocations: 0.5363 MB / 0.572 GB, free: 8.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.4266, allocations: 8.031 kB / 0.572 GB, free: 8.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.4267, allocations: 28.83 kB / 0.572 GB, free: 8.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004554/0.4272, allocations: 166.2 kB / 0.5721 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.4275, allocations: 226.7 kB / 0.5724 GB, free: 8.422 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.4275, allocations: 32.36 kB / 0.5724 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007905/0.4283, allocations: 497 kB / 0.5729 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4283, allocations: 0 / 0.5729 GB, free: 7.844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.4283, allocations: 8 kB / 0.5729 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.4284, allocations: 4 kB / 0.5729 GB, free: 7.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.4294, allocations: 0.7234 MB / 0.5736 GB, free: 7.105 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.001462/0.4309, allocations: 1.042 MB / 0.5746 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003633/0.4312, allocations: 147.8 kB / 0.5747 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.4314, allocations: 77.48 kB / 0.5748 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/0.4332, allocations: 0.7348 MB / 0.5755 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.4332, allocations: 34.56 kB / 0.5756 GB, free: 4.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.893e-06/0.4332, allocations: 0 / 0.5756 GB, free: 4.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003163/0.4335, allocations: 117.7 kB / 0.5757 GB, free: 4.859 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.4336, allocations: 59.34 kB / 0.5757 GB, free: 4.789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.4338, allocations: 233.9 kB / 0.576 GB, free: 4.555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.4339, allocations: 25.7 kB / 0.576 GB, free: 4.523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.434, allocations: 235.4 kB / 0.5762 GB, free: 4.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.4341, allocations: 51.62 kB / 0.5763 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.994e-05/0.4342, allocations: 82.03 kB / 0.5763 GB, free: 4.152 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4343, allocations: 326.8 kB / 0.5766 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.349e-05/0.4344, allocations: 48.84 kB / 0.5767 GB, free: 3.773 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.4348, allocations: 343.2 kB / 0.577 GB, free: 3.293 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005474/0.4353, allocations: 444.6 kB / 0.5774 GB, free: 2.711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.4353, allocations: 4 kB / 0.5774 GB, free: 2.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006783/0.436, allocations: 385.6 kB / 0.5778 GB, free: 2.324 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.436, allocations: 8 kB / 0.5778 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.4361, allocations: 16 kB / 0.5778 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-05/0.4361, allocations: 12 kB / 0.5779 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.4364, allocations: 103.8 kB / 0.578 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/0.4364, allocations: 23.86 kB / 0.578 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.4367, allocations: 55.56 kB / 0.578 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.711e-05/0.4367, allocations: 28 kB / 0.5781 GB, free: 2.082 MB / 414.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.0001689/0.4369, allocations: 159.2 kB / 0.5782 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.4369, allocations: 19.86 kB / 0.5782 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.4373, allocations: 140.6 kB / 0.5784 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4373, allocations: 8 kB / 0.5784 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4373, allocations: 4.031 kB / 0.5784 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4373, allocations: 3.938 kB / 0.5784 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.4379, allocations: 344.5 kB / 0.5787 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4379, allocations: 0 / 0.5787 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.396e-05/0.4379, allocations: 16 kB / 0.5787 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.4379, allocations: 11.86 kB / 0.5787 GB, free: 1.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.4379, allocations: 4 kB / 0.5787 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.438, allocations: 0 / 0.5787 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.438, allocations: 4 kB / 0.5787 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.4382, allocations: 202 kB / 0.5789 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.4383, allocations: 23.83 kB / 0.579 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.4383, allocations: 11.89 kB / 0.579 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.4384, allocations: 11.94 kB / 0.579 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.4385, allocations: 11.97 kB / 0.579 GB, free: 1.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.4385, allocations: 0 / 0.579 GB, free: 1.031 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.4386, allocations: 160.5 kB / 0.5791 GB, free: 0.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4386, allocations: 0 / 0.5791 GB, free: 0.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005423/0.4392, allocations: 87.92 kB / 0.5792 GB, free: 0.7891 MB / 414.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.0003323/0.4395, allocations: 159.1 kB / 0.5794 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.4399, allocations: 170 kB / 0.5795 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4399, allocations: 0 / 0.5795 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.658e-05/0.4399, allocations: 19.92 kB / 0.5796 GB, free: 448 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.4404, allocations: 59.3 kB / 0.5796 GB, free: 392 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.4415, allocations: 0.5325 MB / 0.5801 GB, free: 15.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.4416, allocations: 112.6 kB / 0.5802 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.4418, allocations: 50.84 kB / 0.5803 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.4419, allocations: 27.44 kB / 0.5803 GB, free: 15.61 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4419, allocations: 3.938 kB / 0.5803 GB, free: 15.6 MB / 430.1 MB Notification: Performance of Templates: time 0.007954/0.4498, allocations: 3.398 MB / 0.5836 GB, free: 12.24 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.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: 5.462070794776082]