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.001791/0.001791, allocations: 113 kB / 18.49 MB, free: 4.539 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.002141/0.002141, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.482/1.482, 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.2523/0.2523, allocations: 46.92 MB / 357.8 MB, free: 10.3 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: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 71.89 kB / 0.4917 GB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1525, allocations: 65.99 MB / 0.5561 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007779/0.1603, allocations: 4.62 MB / 0.5606 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005881/0.1661, allocations: 4.018 MB / 0.5645 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002178/0.1664, allocations: 4 kB / 0.5645 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003567/0.1667, allocations: 51.66 kB / 0.5646 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.1692, allocations: 0.7305 MB / 0.5653 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.1697, allocations: 127.3 kB / 0.5654 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008506/0.1705, allocations: 386 kB / 0.5658 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.486e-05/0.1706, allocations: 9.688 kB / 0.5658 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.171, allocations: 151.4 kB / 0.5659 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.1714, allocations: 151.5 kB / 0.5661 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.65e-05/0.1714, allocations: 8 kB / 0.5661 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.1728, allocations: 435.5 kB / 0.5665 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1729, allocations: 51.75 kB / 0.5666 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.1731, allocations: 103.5 kB / 0.5667 GB, free: 10.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.1745, allocations: 474.5 kB / 0.5671 GB, free: 10.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1745, allocations: 3.938 kB / 0.5671 GB, free: 10.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1745, allocations: 0 / 0.5671 GB, free: 10.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.1745, allocations: 0 / 0.5671 GB, free: 10.45 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.001516/0.176, allocations: 0.6039 MB / 0.5677 GB, free: 9.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.176, allocations: 12.03 kB / 0.5677 GB, free: 9.789 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.72e-05/0.1761, allocations: 4.75 kB / 0.5677 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.202e-05/0.1761, allocations: 58.73 kB / 0.5678 GB, free: 9.719 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.1763, allocations: 32.83 kB / 0.5678 GB, free: 9.688 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.1768, allocations: 224.1 kB / 0.568 GB, free: 9.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.1769, allocations: 127.9 kB / 0.5681 GB, free: 9.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.177, allocations: 27.94 kB / 0.5682 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006559/0.1776, allocations: 327.6 kB / 0.5685 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.1776, allocations: 7.922 kB / 0.5685 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.1777, allocations: 8 kB / 0.5685 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.1777, allocations: 4 kB / 0.5685 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000989/0.1787, allocations: 0.743 MB / 0.5692 GB, free: 8.141 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.001814/0.1805, allocations: 1.3 MB / 0.5705 GB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004313/0.1809, allocations: 153.2 kB / 0.5706 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1811, allocations: 81.47 kB / 0.5707 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003026/0.1841, allocations: 2.814 MB / 0.5735 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.1842, allocations: 30.56 kB / 0.5735 GB, free: 3.102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.1842, allocations: 0 / 0.5735 GB, free: 3.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003497/0.1845, allocations: 129.3 kB / 0.5736 GB, free: 2.969 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1846, allocations: 51.41 kB / 0.5737 GB, free: 2.906 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.1848, allocations: 227.9 kB / 0.5739 GB, free: 2.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.1848, allocations: 25.7 kB / 0.5739 GB, free: 2.645 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.185, allocations: 223.5 kB / 0.5741 GB, free: 2.418 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.185, allocations: 47.62 kB / 0.5742 GB, free: 2.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1851, allocations: 86.08 kB / 0.5743 GB, free: 2.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1853, allocations: 326.8 kB / 0.5746 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.612e-05/0.1854, allocations: 48.84 kB / 0.5746 GB, free: 1.902 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.1857, allocations: 339.2 kB / 0.5749 GB, free: 1.426 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/0.1864, allocations: 452.5 kB / 0.5754 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1864, allocations: 4 kB / 0.5754 GB, free: 0.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006525/0.187, allocations: 389.8 kB / 0.5757 GB, free: 456 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.187, allocations: 8 kB / 0.5757 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.1871, allocations: 15.94 kB / 0.5758 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/0.1871, allocations: 12 kB / 0.5758 GB, free: 420 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/0.1874, allocations: 99.83 kB / 0.5759 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.223e-05/0.1874, allocations: 15.94 kB / 0.5759 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.1877, allocations: 59.56 kB / 0.5759 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.1877, allocations: 27.98 kB / 0.576 GB, free: 216 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.0001708/0.1879, allocations: 153.6 kB / 0.5761 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.188, allocations: 19.94 kB / 0.5761 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.1883, allocations: 144.5 kB / 0.5763 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.1883, allocations: 7.984 kB / 0.5763 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1883, allocations: 4 kB / 0.5763 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1883, allocations: 0 / 0.5763 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.1888, allocations: 408.9 kB / 0.5767 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1888, allocations: 3.938 kB / 0.5767 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.1889, allocations: 15.94 kB / 0.5767 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1889, allocations: 0 / 0.5767 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1889, allocations: 7.984 kB / 0.5767 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1889, allocations: 4.094 kB / 0.5767 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1889, allocations: 4 kB / 0.5767 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.1892, allocations: 205.9 kB / 0.5769 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.1892, allocations: 100.9 kB / 0.577 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.1893, allocations: 7.953 kB / 0.577 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.1894, allocations: 4 kB / 0.577 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.1894, allocations: 11.98 kB / 0.577 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.1894, allocations: 4 kB / 0.577 GB, free: 15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.1896, allocations: 156.5 kB / 0.5772 GB, free: 14.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1896, allocations: 0 / 0.5772 GB, free: 14.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005157/0.1901, allocations: 95.86 kB / 0.5773 GB, free: 14.75 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.0007348/0.1909, allocations: 0.7928 MB / 0.578 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.1912, allocations: 174 kB / 0.5782 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/0.1912, allocations: 0 / 0.5782 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.1912, allocations: 15.94 kB / 0.5782 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.1917, allocations: 49.09 kB / 0.5783 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.195, allocations: 2.803 MB / 0.581 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.1954, allocations: 0.7324 MB / 0.5817 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001775/0.1955, allocations: 46.84 kB / 0.5818 GB, free: 9.695 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.1956, allocations: 59.41 kB / 0.5818 GB, free: 9.637 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1956, allocations: 8 kB / 0.5818 GB, free: 9.629 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.2178, allocations: 5.301 MB / 0.587 GB, free: 4.469 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.385/8.602, allocations: 6.688 kB / 0.587 GB, free: 4.465 MB / 446.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] 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: 12.184405271022115]