Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001554/0.001554, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001662/0.001662, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.473/1.473, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2313/0.2313, allocations: 46.89 MB / 358.1 MB, free: 10.52 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 75.88 kB / 0.4924 GB, free: 8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1322, allocations: 65.99 MB / 0.5568 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006408/0.1386, allocations: 4.629 MB / 0.5614 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004872/0.1435, allocations: 4.025 MB / 0.5653 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1436, allocations: 0 / 0.5653 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1439, allocations: 55.59 kB / 0.5653 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.1457, allocations: 0.7305 MB / 0.5661 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.146, allocations: 134.6 kB / 0.5662 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.1466, allocations: 374.1 kB / 0.5665 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.1466, allocations: 13.69 kB / 0.5666 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.1468, allocations: 135.5 kB / 0.5667 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.1471, allocations: 163.3 kB / 0.5668 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.1472, allocations: 11.98 kB / 0.5668 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.1482, allocations: 435.5 kB / 0.5673 GB, free: 11.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.08e-05/0.1483, allocations: 43.83 kB / 0.5673 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1484, allocations: 99.52 kB / 0.5674 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008168/0.1493, allocations: 474.5 kB / 0.5679 GB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1493, allocations: 0 / 0.5679 GB, free: 10.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1493, allocations: 0 / 0.5679 GB, free: 10.55 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1493, allocations: 4 kB / 0.5679 GB, free: 10.54 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.001241/0.1505, allocations: 0.6 MB / 0.5684 GB, free: 9.895 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1505, allocations: 12.03 kB / 0.5685 GB, free: 9.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.1507, allocations: 28.83 kB / 0.5685 GB, free: 9.855 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.151, allocations: 236 kB / 0.5687 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.1512, allocations: 127.9 kB / 0.5688 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.1512, allocations: 20.38 kB / 0.5688 GB, free: 9.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.1518, allocations: 331.6 kB / 0.5692 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1518, allocations: 0 / 0.5692 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.1518, allocations: 8 kB / 0.5692 GB, free: 9.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.1518, allocations: 8 kB / 0.5692 GB, free: 9.051 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/0.1527, allocations: 0.7352 MB / 0.5699 GB, free: 8.312 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.001536/0.1543, allocations: 1.304 MB / 0.5712 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.1546, allocations: 155.7 kB / 0.5713 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.1548, allocations: 81.42 kB / 0.5714 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00282/0.1576, allocations: 2.81 MB / 0.5741 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.1576, allocations: 42.48 kB / 0.5742 GB, free: 3.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.1576, allocations: 0 / 0.5742 GB, free: 3.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003238/0.158, allocations: 117.4 kB / 0.5743 GB, free: 3.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.158, allocations: 59.41 kB / 0.5743 GB, free: 3.066 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1582, allocations: 220.7 kB / 0.5746 GB, free: 2.844 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1583, allocations: 29.7 kB / 0.5746 GB, free: 2.809 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.1584, allocations: 223.4 kB / 0.5748 GB, free: 2.586 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.1585, allocations: 51.62 kB / 0.5749 GB, free: 2.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.1586, allocations: 78.09 kB / 0.5749 GB, free: 2.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1588, allocations: 326.8 kB / 0.5752 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.481e-05/0.1588, allocations: 52.84 kB / 0.5753 GB, free: 2.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.1592, allocations: 347.2 kB / 0.5756 GB, free: 1.586 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000508/0.1597, allocations: 444.6 kB / 0.576 GB, free: 1.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.1597, allocations: 4 kB / 0.576 GB, free: 1 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006253/0.1603, allocations: 381.4 kB / 0.5764 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1603, allocations: 12 kB / 0.5764 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.1604, allocations: 12 kB / 0.5764 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.694e-05/0.1604, allocations: 15.94 kB / 0.5764 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.1606, allocations: 99.83 kB / 0.5765 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.1607, allocations: 24.41 kB / 0.5766 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.1609, allocations: 55.62 kB / 0.5766 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.1609, allocations: 35.98 kB / 0.5767 GB, free: 380 kB / 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.0001339/0.1611, allocations: 149.6 kB / 0.5768 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.1611, allocations: 19.91 kB / 0.5768 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.1614, allocations: 144.5 kB / 0.577 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.1614, allocations: 3.938 kB / 0.577 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1614, allocations: 0 / 0.577 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1614, allocations: 0 / 0.577 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.162, allocations: 408.8 kB / 0.5773 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.162, allocations: 4.094 kB / 0.5774 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.162, allocations: 15.98 kB / 0.5774 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.162, allocations: 0 / 0.5774 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.162, allocations: 8 kB / 0.5774 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.162, allocations: 0 / 0.5774 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.162, allocations: 4 kB / 0.5774 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.1623, allocations: 209.8 kB / 0.5776 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.1624, allocations: 97 kB / 0.5777 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.1624, allocations: 7.891 kB / 0.5777 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.1626, allocations: 15.97 kB / 0.5777 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.1626, allocations: 4.188 kB / 0.5777 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1626, allocations: 7.938 kB / 0.5777 GB, free: 15.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.1627, allocations: 160.4 kB / 0.5779 GB, free: 15.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1627, allocations: 0 / 0.5779 GB, free: 15.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004951/0.1632, allocations: 91.92 kB / 0.5779 GB, free: 14.92 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.0002787/0.1635, allocations: 159.1 kB / 0.5781 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003059/0.1638, allocations: 161.2 kB / 0.5782 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1638, allocations: 0 / 0.5782 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.827e-05/0.1639, allocations: 23.92 kB / 0.5783 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.1643, allocations: 57.95 kB / 0.5783 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1653, allocations: 0.5597 MB / 0.5789 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1657, allocations: 0.7245 MB / 0.5796 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.1658, allocations: 27.44 kB / 0.5796 GB, free: 13.14 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1658, allocations: 3.938 kB / 0.5796 GB, free: 13.13 MB / 446.1 MB Notification: Performance of Templates: time 0.00623/0.172, allocations: 3.355 MB / 0.5829 GB, free: 9.789 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.271840767003596]