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.001834/0.001834, allocations: 120.6 kB / 18.45 MB, free: 4.578 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.002497/0.002498, allocations: 205 kB / 21.4 MB, free: 1.633 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.544/1.544, allocations: 227.4 MB / 251.6 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.2472/0.2472, allocations: 46.16 MB / 351.1 MB, free: 14.27 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.002229/0.002229, allocations: 84.59 kB / 490.2 MB, free: 27.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.13, allocations: 62.44 MB / 0.5397 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006552/0.1366, allocations: 4.608 MB / 0.5442 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004656/0.1413, allocations: 4.014 MB / 0.5481 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.304e-05/0.1414, allocations: 0 / 0.5481 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.1417, allocations: 47.66 kB / 0.5482 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.1435, allocations: 0.7266 MB / 0.5489 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.1438, allocations: 132.4 kB / 0.549 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.1443, allocations: 378.1 kB / 0.5494 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.1444, allocations: 13.69 kB / 0.5494 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.1446, allocations: 147.5 kB / 0.5495 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.1449, allocations: 143.5 kB / 0.5497 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.1449, allocations: 11.94 kB / 0.5497 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008923/0.1458, allocations: 435.5 kB / 0.5501 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.1459, allocations: 47.81 kB / 0.5501 GB, free: 9.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.146, allocations: 107.4 kB / 0.5502 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000747/0.1468, allocations: 470.4 kB / 0.5507 GB, free: 8.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1468, allocations: 0 / 0.5507 GB, free: 8.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1468, allocations: 0 / 0.5507 GB, free: 8.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1468, allocations: 0 / 0.5507 GB, free: 8.789 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.00117/0.148, allocations: 0.6078 MB / 0.5513 GB, free: 8.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.148, allocations: 12.03 kB / 0.5513 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.1482, allocations: 24.84 kB / 0.5513 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.1485, allocations: 228 kB / 0.5515 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.1487, allocations: 123.9 kB / 0.5517 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.1487, allocations: 16.38 kB / 0.5517 GB, free: 7.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.1493, allocations: 331.6 kB / 0.552 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1493, allocations: 0 / 0.552 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.1493, allocations: 12 kB / 0.552 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.1493, allocations: 8 kB / 0.552 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008687/0.1502, allocations: 0.7429 MB / 0.5527 GB, free: 6.559 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.001434/0.1517, allocations: 1.3 MB / 0.554 GB, free: 5.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.152, allocations: 159.8 kB / 0.5542 GB, free: 4.977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1522, allocations: 89.42 kB / 0.5542 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002666/0.1549, allocations: 2.825 MB / 0.557 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.1549, allocations: 30.56 kB / 0.557 GB, free: 1.492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.1549, allocations: 0 / 0.557 GB, free: 1.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003141/0.1552, allocations: 117.5 kB / 0.5571 GB, free: 1.371 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.1553, allocations: 55.39 kB / 0.5572 GB, free: 1.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.1555, allocations: 220.7 kB / 0.5574 GB, free: 1.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1556, allocations: 25.7 kB / 0.5574 GB, free: 1.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.1558, allocations: 231.4 kB / 0.5576 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.1558, allocations: 55.56 kB / 0.5577 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.695e-05/0.1559, allocations: 78.08 kB / 0.5578 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.1561, allocations: 326.8 kB / 0.5581 GB, free: 364 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.1562, allocations: 52.78 kB / 0.5581 GB, free: 308 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.1566, allocations: 343.2 kB / 0.5585 GB, free: 15.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/0.157, allocations: 440.6 kB / 0.5589 GB, free: 15.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1571, allocations: 4 kB / 0.5589 GB, free: 15.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005732/0.1576, allocations: 389.7 kB / 0.5593 GB, free: 14.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1577, allocations: 8.219 kB / 0.5593 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.1577, allocations: 16 kB / 0.5593 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.1577, allocations: 15.94 kB / 0.5593 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.158, allocations: 107.8 kB / 0.5594 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/0.158, allocations: 19.92 kB / 0.5594 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.1582, allocations: 51.62 kB / 0.5595 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.1583, allocations: 28 kB / 0.5595 GB, free: 14.61 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.000153/0.1584, allocations: 157.5 kB / 0.5596 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.1585, allocations: 15.91 kB / 0.5597 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.1588, allocations: 145 kB / 0.5598 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.1588, allocations: 3.938 kB / 0.5598 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1588, allocations: 0 / 0.5598 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1588, allocations: 4 kB / 0.5598 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.1594, allocations: 412.9 kB / 0.5602 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1594, allocations: 7.938 kB / 0.5602 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.1594, allocations: 11.98 kB / 0.5602 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1594, allocations: 4 kB / 0.5602 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1595, allocations: 0 / 0.5602 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1595, allocations: 4 kB / 0.5602 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1595, allocations: 96 / 0.5602 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.1597, allocations: 209.8 kB / 0.5604 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.964e-05/0.1598, allocations: 97.02 kB / 0.5605 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.1599, allocations: 11.94 kB / 0.5605 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.16, allocations: 0 / 0.5605 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.1601, allocations: 19.97 kB / 0.5606 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.1601, allocations: 7.984 kB / 0.5606 GB, free: 13.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001471/0.1602, allocations: 152.5 kB / 0.5607 GB, free: 13.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.034e-06/0.1603, allocations: 0 / 0.5607 GB, free: 13.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004847/0.1607, allocations: 99.81 kB / 0.5608 GB, free: 13.14 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.0003045/0.1611, allocations: 151.1 kB / 0.5609 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.1614, allocations: 170.2 kB / 0.5611 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1614, allocations: 0 / 0.5611 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.1614, allocations: 32.11 kB / 0.5611 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.1618, allocations: 54.75 kB / 0.5612 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009542/0.1628, allocations: 0.5305 MB / 0.5617 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.1632, allocations: 0.7285 MB / 0.5624 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001666/0.1634, allocations: 50.92 kB / 0.5625 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.1634, allocations: 27.42 kB / 0.5625 GB, free: 11.33 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1634, allocations: 0 / 0.5625 GB, free: 11.33 MB / 430.1 MB Notification: Performance of Templates: time 0.00687/0.1703, allocations: 3.125 MB / 0.5655 GB, free: 8.227 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.0.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.268126398324966]