Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 116.5 kB / 18.45 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2672/0.2672, allocations: 46.92 MB / 357.8 MB, free: 10.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.91 kB / 0.4921 GB, free: 7.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1245, allocations: 66 MB / 0.5566 GB, free: 5.227 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006142/0.1306, allocations: 4.613 MB / 0.5611 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004548/0.1352, allocations: 4.018 MB / 0.565 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1353, allocations: 7.938 kB / 0.565 GB, free: 12.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.1355, allocations: 51.66 kB / 0.565 GB, free: 12.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.1373, allocations: 0.7305 MB / 0.5658 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.1376, allocations: 131.2 kB / 0.5659 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005455/0.1381, allocations: 378.1 kB / 0.5662 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.1382, allocations: 9.688 kB / 0.5663 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.1384, allocations: 151.4 kB / 0.5664 GB, free: 11.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1386, allocations: 151.5 kB / 0.5665 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.1387, allocations: 8 kB / 0.5665 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000924/0.1396, allocations: 439.5 kB / 0.567 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.028e-05/0.1397, allocations: 47.75 kB / 0.567 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1398, allocations: 103.5 kB / 0.5671 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007359/0.1405, allocations: 474.6 kB / 0.5676 GB, free: 9.902 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1405, allocations: 3.938 kB / 0.5676 GB, free: 9.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1405, allocations: 0 / 0.5676 GB, free: 9.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1405, allocations: 3.938 kB / 0.5676 GB, free: 9.895 MB / 430.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.001201/0.1417, allocations: 0.6039 MB / 0.5682 GB, free: 9.242 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1418, allocations: 12.03 kB / 0.5682 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.1419, allocations: 20.84 kB / 0.5682 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.1423, allocations: 228.1 kB / 0.5684 GB, free: 8.949 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.1424, allocations: 123.9 kB / 0.5685 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.1425, allocations: 16.38 kB / 0.5685 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/0.143, allocations: 335.6 kB / 0.5689 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.143, allocations: 0 / 0.5689 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.1431, allocations: 15.98 kB / 0.5689 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.1431, allocations: 8 kB / 0.5689 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008757/0.144, allocations: 0.7429 MB / 0.5696 GB, free: 7.664 MB / 430.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.001458/0.1454, allocations: 1.304 MB / 0.5709 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.1458, allocations: 153.6 kB / 0.571 GB, free: 6.086 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.1459, allocations: 81.42 kB / 0.5711 GB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00272/0.1486, allocations: 2.806 MB / 0.5738 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.1487, allocations: 42.56 kB / 0.5739 GB, free: 2.617 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1487, allocations: 0 / 0.5739 GB, free: 2.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003332/0.149, allocations: 121.4 kB / 0.574 GB, free: 2.492 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.1491, allocations: 59.34 kB / 0.5741 GB, free: 2.422 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.1493, allocations: 223.9 kB / 0.5743 GB, free: 2.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1493, allocations: 29.69 kB / 0.5743 GB, free: 2.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1495, allocations: 219.5 kB / 0.5745 GB, free: 1.941 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.1495, allocations: 47.62 kB / 0.5746 GB, free: 1.895 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.1496, allocations: 82.08 kB / 0.5746 GB, free: 1.809 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1498, allocations: 330.8 kB / 0.575 GB, free: 1.477 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.1499, allocations: 48.83 kB / 0.575 GB, free: 1.426 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.1502, allocations: 343.2 kB / 0.5753 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/0.1507, allocations: 440.6 kB / 0.5757 GB, free: 380 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1507, allocations: 4 kB / 0.5758 GB, free: 376 kB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005933/0.1513, allocations: 385 kB / 0.5761 GB, free: 15.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.1513, allocations: 12 kB / 0.5761 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.1513, allocations: 8.906 kB / 0.5761 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.1513, allocations: 23.97 kB / 0.5762 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.1516, allocations: 103.7 kB / 0.5763 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/0.1516, allocations: 23.92 kB / 0.5763 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.1518, allocations: 51.56 kB / 0.5763 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.1519, allocations: 32 kB / 0.5764 GB, free: 15.73 MB / 446.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.0001317/0.152, allocations: 143.8 kB / 0.5765 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.1521, allocations: 27.89 kB / 0.5765 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.1524, allocations: 140.5 kB / 0.5767 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.1524, allocations: 7.938 kB / 0.5767 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-06/0.1524, allocations: 0 / 0.5767 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1524, allocations: 0 / 0.5767 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.1529, allocations: 416.9 kB / 0.5771 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1529, allocations: 0 / 0.5771 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.954e-05/0.1529, allocations: 12.06 kB / 0.5771 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1529, allocations: 7.938 kB / 0.5771 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.153, allocations: 4 kB / 0.5771 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.153, allocations: 0 / 0.5771 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.153, allocations: 3.938 kB / 0.5771 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.1532, allocations: 213.9 kB / 0.5773 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.699e-05/0.1533, allocations: 100.9 kB / 0.5774 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.1533, allocations: 7.953 kB / 0.5774 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.1534, allocations: 4.188 kB / 0.5774 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.1535, allocations: 7.984 kB / 0.5774 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.1535, allocations: 15.94 kB / 0.5774 GB, free: 14.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.1536, allocations: 152.5 kB / 0.5776 GB, free: 14.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1536, allocations: 0 / 0.5776 GB, free: 14.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005038/0.1541, allocations: 91.88 kB / 0.5777 GB, free: 14.27 MB / 446.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.0002762/0.1544, allocations: 151.1 kB / 0.5778 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.1547, allocations: 166 kB / 0.578 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1547, allocations: 0 / 0.578 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.104e-05/0.1548, allocations: 23.94 kB / 0.578 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.1552, allocations: 50.88 kB / 0.578 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009891/0.1562, allocations: 0.5632 MB / 0.5786 GB, free: 13.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1565, allocations: 0.7206 MB / 0.5793 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.1566, allocations: 39.36 kB / 0.5793 GB, free: 12.49 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1566, allocations: 4 kB / 0.5793 GB, free: 12.48 MB / 446.1 MB Notification: Performance of Templates: time 0.005867/0.1624, allocations: 3.349 MB / 0.5826 GB, free: 9.145 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.06050486600725]