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.001777/0.001777, allocations: 117 kB / 19.12 MB, free: 3.93 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.002065/0.002065, allocations: 210.6 kB / 22.08 MB, free: 0.9766 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.462/1.462, allocations: 227.4 MB / 252.3 MB, free: 56 kB / 190.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.2309/0.2309, allocations: 46.15 MB / 351.8 MB, free: 14.28 MB / 286.1 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.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.002278/0.002278, allocations: 80.72 kB / 490.9 MB, free: 27.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1286, allocations: 62.44 MB / 0.5404 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.0065/0.1352, allocations: 4.603 MB / 0.5449 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004791/0.14, allocations: 4.018 MB / 0.5488 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.1402, allocations: 4 kB / 0.5488 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.1405, allocations: 55.59 kB / 0.5488 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.1426, allocations: 0.7188 MB / 0.5495 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.143, allocations: 136.3 kB / 0.5497 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005894/0.1436, allocations: 378.1 kB / 0.55 GB, free: 10.26 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.17e-05/0.1437, allocations: 9.688 kB / 0.55 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003075/0.144, allocations: 147.5 kB / 0.5502 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.1444, allocations: 155.4 kB / 0.5503 GB, free: 9.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.1444, allocations: 8 kB / 0.5503 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.1455, allocations: 423.4 kB / 0.5507 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.1456, allocations: 47.86 kB / 0.5508 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.1458, allocations: 107.5 kB / 0.5509 GB, free: 9.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009353/0.1467, allocations: 474.5 kB / 0.5513 GB, free: 8.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1467, allocations: 4 kB / 0.5514 GB, free: 8.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1467, allocations: 0 / 0.5514 GB, free: 8.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1468, allocations: 0 / 0.5514 GB, free: 8.91 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.148, allocations: 0.6 MB / 0.5519 GB, free: 8.262 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1481, allocations: 8.031 kB / 0.5519 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.1482, allocations: 24.84 kB / 0.552 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.1486, allocations: 224.1 kB / 0.5522 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.1488, allocations: 127.9 kB / 0.5523 GB, free: 7.824 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.1488, allocations: 28.36 kB / 0.5523 GB, free: 7.797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.1494, allocations: 331.6 kB / 0.5526 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1494, allocations: 0 / 0.5526 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.1494, allocations: 8 kB / 0.5527 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.1494, allocations: 11.94 kB / 0.5527 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008893/0.1503, allocations: 0.7313 MB / 0.5534 GB, free: 6.691 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.001553/0.1519, allocations: 1.308 MB / 0.5547 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.1523, allocations: 160.3 kB / 0.5548 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1524, allocations: 89.41 kB / 0.5549 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002716/0.1552, allocations: 2.813 MB / 0.5576 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1552, allocations: 38.56 kB / 0.5577 GB, free: 1.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.1552, allocations: 0 / 0.5577 GB, free: 1.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003075/0.1555, allocations: 121.7 kB / 0.5578 GB, free: 1.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1556, allocations: 55.41 kB / 0.5579 GB, free: 1.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1558, allocations: 220.7 kB / 0.5581 GB, free: 1.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1558, allocations: 33.64 kB / 0.5581 GB, free: 1.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.156, allocations: 227.3 kB / 0.5583 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.361e-05/0.156, allocations: 47.64 kB / 0.5584 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1562, allocations: 82.08 kB / 0.5584 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1563, allocations: 334.8 kB / 0.5588 GB, free: 484 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1564, allocations: 44.84 kB / 0.5588 GB, free: 436 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.1568, allocations: 339.3 kB / 0.5591 GB, free: 15.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/0.1572, allocations: 448.5 kB / 0.5595 GB, free: 15.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1573, allocations: 4 kB / 0.5596 GB, free: 15.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005688/0.1578, allocations: 381 kB / 0.5599 GB, free: 14.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.1579, allocations: 18.02 kB / 0.5599 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.1579, allocations: 8.844 kB / 0.5599 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.1579, allocations: 19.94 kB / 0.56 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.1582, allocations: 99.84 kB / 0.5601 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.272e-05/0.1582, allocations: 23.92 kB / 0.5601 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.1584, allocations: 55.62 kB / 0.5601 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.1585, allocations: 28 kB / 0.5602 GB, free: 14.73 MB / 430.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.000136/0.1586, allocations: 153.5 kB / 0.5603 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.729e-05/0.1587, allocations: 19.91 kB / 0.5603 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.159, allocations: 148.5 kB / 0.5605 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.159, allocations: 3.938 kB / 0.5605 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.159, allocations: 0 / 0.5605 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.159, allocations: 3.984 kB / 0.5605 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004797/0.1595, allocations: 408.9 kB / 0.5609 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1595, allocations: 0 / 0.5609 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.1596, allocations: 15.94 kB / 0.5609 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1596, allocations: 0 / 0.5609 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1596, allocations: 8 kB / 0.5609 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1596, allocations: 0 / 0.5609 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1596, allocations: 3.984 kB / 0.5609 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1598, allocations: 210 kB / 0.5611 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.1599, allocations: 93 kB / 0.5612 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.16, allocations: 7.953 kB / 0.5612 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1601, allocations: 8.047 kB / 0.5612 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.1601, allocations: 11.97 kB / 0.5612 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.1602, allocations: 4 kB / 0.5612 GB, free: 13.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1603, allocations: 160.5 kB / 0.5614 GB, free: 13.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1603, allocations: 3.938 kB / 0.5614 GB, free: 13.36 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005083/0.1608, allocations: 91.86 kB / 0.5615 GB, free: 13.27 MB / 430.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.0002919/0.1611, allocations: 163.1 kB / 0.5616 GB, free: 13.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.1615, allocations: 174.2 kB / 0.5618 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1615, allocations: 0 / 0.5618 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.912e-05/0.1615, allocations: 19.94 kB / 0.5618 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.1619, allocations: 52.89 kB / 0.5618 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009914/0.1629, allocations: 0.5632 MB / 0.5624 GB, free: 12.26 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1633, allocations: 0.7245 MB / 0.5631 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.1634, allocations: 31.44 kB / 0.5631 GB, free: 11.48 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1634, allocations: 0 / 0.5631 GB, free: 11.48 MB / 430.1 MB Notification: Performance of Templates: time 0.005916/0.1693, allocations: 3.332 MB / 0.5664 GB, free: 8.156 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.756152332061902]