Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001295/0.001295, allocations: 121 kB / 18.49 MB, free: 4.586 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.00141/0.00141, allocations: 213.5 kB / 21.45 MB, free: 1.637 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.508/1.508, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2435/0.2435, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 75.88 kB / 0.4917 GB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1427, allocations: 65.99 MB / 0.5561 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.008219/0.1509, allocations: 5.049 MB / 0.561 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005754/0.1566, allocations: 4.578 MB / 0.5655 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.1568, allocations: 0 / 0.5655 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.1572, allocations: 51.66 kB / 0.5656 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.1592, allocations: 0.6642 MB / 0.5662 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.1596, allocations: 159.2 kB / 0.5664 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006803/0.1603, allocations: 366.2 kB / 0.5667 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.865e-05/0.1604, allocations: 25.59 kB / 0.5667 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003339/0.1607, allocations: 151.5 kB / 0.5669 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.1609, allocations: 131.4 kB / 0.567 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.161, allocations: 8 kB / 0.567 GB, free: 10.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.162, allocations: 359.6 kB / 0.5673 GB, free: 10.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.991e-05/0.1621, allocations: 47.77 kB / 0.5674 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1622, allocations: 103.5 kB / 0.5675 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007949/0.163, allocations: 442.6 kB / 0.5679 GB, free: 9.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.163, allocations: 0 / 0.5679 GB, free: 9.652 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.163, allocations: 7.938 kB / 0.5679 GB, free: 9.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1631, allocations: 0 / 0.5679 GB, free: 9.645 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.001127/0.1642, allocations: 0.5921 MB / 0.5685 GB, free: 9.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1642, allocations: 12.03 kB / 0.5685 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.702e-05/0.1642, allocations: 4.75 kB / 0.5685 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.1643, allocations: 66.72 kB / 0.5686 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.1645, allocations: 24.84 kB / 0.5686 GB, free: 8.891 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.1648, allocations: 228.1 kB / 0.5688 GB, free: 8.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.165, allocations: 123.9 kB / 0.5689 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.165, allocations: 27.92 kB / 0.569 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.1655, allocations: 323.6 kB / 0.5693 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1655, allocations: 0 / 0.5693 GB, free: 8.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.1656, allocations: 12 kB / 0.5693 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.1656, allocations: 8 kB / 0.5693 GB, free: 8.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008674/0.1665, allocations: 0.739 MB / 0.57 GB, free: 7.352 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.001376/0.1678, allocations: 1.257 MB / 0.5712 GB, free: 5.992 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.1682, allocations: 142.8 kB / 0.5714 GB, free: 5.844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.1683, allocations: 72.77 kB / 0.5714 GB, free: 5.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002808/0.1711, allocations: 2.663 MB / 0.574 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.1711, allocations: 34.56 kB / 0.5741 GB, free: 2.551 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.993e-06/0.1711, allocations: 0 / 0.5741 GB, free: 2.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.00078/0.1719, allocations: 228.9 kB / 0.5743 GB, free: 2.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.172, allocations: 59.39 kB / 0.5744 GB, free: 2.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.1722, allocations: 210.8 kB / 0.5746 GB, free: 2.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/0.1723, allocations: 33.7 kB / 0.5746 GB, free: 2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1724, allocations: 211.6 kB / 0.5748 GB, free: 1.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.832e-05/0.1725, allocations: 59.52 kB / 0.5748 GB, free: 1.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1726, allocations: 82.03 kB / 0.5749 GB, free: 1.645 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1728, allocations: 330.8 kB / 0.5752 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.1729, allocations: 52.84 kB / 0.5753 GB, free: 1.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.1732, allocations: 316.1 kB / 0.5756 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.1737, allocations: 415.5 kB / 0.576 GB, free: 292 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1737, allocations: 8 kB / 0.576 GB, free: 284 kB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006205/0.1743, allocations: 361 kB / 0.5763 GB, free: 15.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.1744, allocations: 18.94 kB / 0.5764 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.1744, allocations: 8 kB / 0.5764 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/0.1744, allocations: 19.92 kB / 0.5764 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.1748, allocations: 107.8 kB / 0.5765 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.988e-05/0.1748, allocations: 19.92 kB / 0.5765 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.175, allocations: 16 kB / 0.5765 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.175, allocations: 28 kB / 0.5766 GB, free: 15.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001509/0.1752, allocations: 151.8 kB / 0.5767 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.1752, allocations: 15.91 kB / 0.5767 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.1756, allocations: 159 kB / 0.5769 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.1756, allocations: 4 kB / 0.5769 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1756, allocations: 4 kB / 0.5769 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1756, allocations: 3.984 kB / 0.5769 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.1762, allocations: 435.1 kB / 0.5773 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1762, allocations: 4 kB / 0.5773 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.1764, allocations: 31.97 kB / 0.5773 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1764, allocations: 0 / 0.5773 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1764, allocations: 4 kB / 0.5773 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1764, allocations: 4 kB / 0.5773 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1764, allocations: 0 / 0.5773 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002678/0.1767, allocations: 231.8 kB / 0.5776 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.1768, allocations: 101 kB / 0.5776 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.1768, allocations: 0 / 0.5776 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.177, allocations: 8 kB / 0.5777 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.177, allocations: 11.98 kB / 0.5777 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.177, allocations: 15.92 kB / 0.5777 GB, free: 14.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.1772, allocations: 144.5 kB / 0.5778 GB, free: 14.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1772, allocations: 4 kB / 0.5778 GB, free: 14.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.1777, allocations: 107.8 kB / 0.5779 GB, free: 14.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0008334/0.1785, allocations: 0.8222 MB / 0.5787 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.1789, allocations: 164.1 kB / 0.5789 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1789, allocations: 2 kB / 0.5789 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/0.1789, allocations: 35.92 kB / 0.5789 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.1794, allocations: 52.44 kB / 0.579 GB, free: 13.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.1829, allocations: 2.704 MB / 0.5816 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/0.1834, allocations: 0.7285 MB / 0.5823 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002081/0.1836, allocations: 58.78 kB / 0.5824 GB, free: 9.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1837, allocations: 63.41 kB / 0.5824 GB, free: 9.168 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1837, allocations: 0 / 0.5824 GB, free: 9.168 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.207, allocations: 5.711 MB / 0.588 GB, free: 3.637 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.594, allocations: 7.859 kB / 0.588 GB, free: 3.633 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.170938953000586]