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.001728/0.001728, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002075/0.002075, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.5/1.5, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2352/0.2352, allocations: 46.93 MB / 357.1 MB, free: 10.33 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.91 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1462, allocations: 66 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006938/0.1531, allocations: 5.052 MB / 0.5603 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00533/0.1584, allocations: 4.578 MB / 0.5648 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1586, allocations: 4 kB / 0.5648 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.1589, allocations: 51.59 kB / 0.5649 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.1608, allocations: 0.672 MB / 0.5655 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.1612, allocations: 155.3 kB / 0.5657 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005772/0.1618, allocations: 374.1 kB / 0.566 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.1618, allocations: 9.672 kB / 0.566 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.1621, allocations: 155.4 kB / 0.5662 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.1623, allocations: 131.5 kB / 0.5663 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.1623, allocations: 12 kB / 0.5663 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008623/0.1632, allocations: 359.6 kB / 0.5667 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.1633, allocations: 47.75 kB / 0.5667 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.1634, allocations: 107.5 kB / 0.5668 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.1641, allocations: 434.6 kB / 0.5672 GB, free: 9.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1641, allocations: 3.938 kB / 0.5672 GB, free: 9.664 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1641, allocations: 0 / 0.5672 GB, free: 9.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1641, allocations: 4 kB / 0.5672 GB, free: 9.66 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.00111/0.1652, allocations: 0.5999 MB / 0.5678 GB, free: 9.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1652, allocations: 8.031 kB / 0.5678 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.656e-05/0.1653, allocations: 62.72 kB / 0.5679 GB, free: 8.934 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.1654, allocations: 28.83 kB / 0.5679 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.1658, allocations: 232 kB / 0.5681 GB, free: 8.641 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.1659, allocations: 119.9 kB / 0.5683 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.166, allocations: 28.12 kB / 0.5683 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.1665, allocations: 323.6 kB / 0.5686 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1665, allocations: 0 / 0.5686 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/0.1665, allocations: 12 kB / 0.5686 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.1666, allocations: 8 kB / 0.5686 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009076/0.1675, allocations: 0.7429 MB / 0.5693 GB, free: 7.363 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.001453/0.1689, allocations: 1.253 MB / 0.5706 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.1693, allocations: 138.5 kB / 0.5707 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1694, allocations: 68.83 kB / 0.5708 GB, free: 5.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/0.1719, allocations: 2.667 MB / 0.5734 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.203e-05/0.1719, allocations: 34.56 kB / 0.5734 GB, free: 2.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.833e-06/0.1719, allocations: 0 / 0.5734 GB, free: 2.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007459/0.1727, allocations: 225 kB / 0.5736 GB, free: 2.348 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.1727, allocations: 51.41 kB / 0.5737 GB, free: 2.285 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.1729, allocations: 218.8 kB / 0.5739 GB, free: 2.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1729, allocations: 25.7 kB / 0.5739 GB, free: 2.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1731, allocations: 219.6 kB / 0.5741 GB, free: 1.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.1731, allocations: 55.53 kB / 0.5742 GB, free: 1.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.1733, allocations: 86.03 kB / 0.5742 GB, free: 1.668 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1734, allocations: 322.8 kB / 0.5745 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.952e-05/0.1735, allocations: 60.83 kB / 0.5746 GB, free: 1.281 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003076/0.1738, allocations: 312.1 kB / 0.5749 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004939/0.1743, allocations: 415.5 kB / 0.5753 GB, free: 320 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1743, allocations: 4 kB / 0.5753 GB, free: 316 kB / 430.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000585/0.1749, allocations: 369.7 kB / 0.5757 GB, free: 15.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1749, allocations: 8 kB / 0.5757 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.1749, allocations: 15.94 kB / 0.5757 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.175, allocations: 15.94 kB / 0.5757 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.1753, allocations: 111.8 kB / 0.5758 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.1753, allocations: 15.94 kB / 0.5758 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1755, allocations: 16 kB / 0.5758 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.1756, allocations: 27.98 kB / 0.5759 GB, free: 15.73 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.0001477/0.1757, allocations: 157.7 kB / 0.576 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.1758, allocations: 19.84 kB / 0.576 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.1761, allocations: 151 kB / 0.5762 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.1761, allocations: 7.938 kB / 0.5762 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1761, allocations: 0 / 0.5762 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1761, allocations: 0 / 0.5762 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.1767, allocations: 431.2 kB / 0.5766 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.1767, allocations: 7.938 kB / 0.5766 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.1769, allocations: 31.92 kB / 0.5766 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1769, allocations: 0 / 0.5766 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1769, allocations: 8.125 kB / 0.5766 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.1769, allocations: 12.02 kB / 0.5766 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1769, allocations: 0 / 0.5766 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1772, allocations: 223.6 kB / 0.5769 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1773, allocations: 100.9 kB / 0.577 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.1773, allocations: 4 kB / 0.577 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1775, allocations: 7.984 kB / 0.577 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.1776, allocations: 15.92 kB / 0.577 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.1776, allocations: 12 kB / 0.577 GB, free: 14.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1777, allocations: 148.5 kB / 0.5771 GB, free: 14.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1777, allocations: 0 / 0.5771 GB, free: 14.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005145/0.1782, allocations: 99.88 kB / 0.5772 GB, free: 14.21 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.0007899/0.179, allocations: 0.8261 MB / 0.578 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003357/0.1794, allocations: 165.9 kB / 0.5782 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1794, allocations: 192 / 0.5782 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.1794, allocations: 35.92 kB / 0.5782 GB, free: 13.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.1799, allocations: 48.39 kB / 0.5783 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.1835, allocations: 2.708 MB / 0.5809 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004031/0.184, allocations: 0.7323 MB / 0.5816 GB, free: 9.309 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002477/0.1842, allocations: 54.78 kB / 0.5817 GB, free: 9.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1843, allocations: 63.42 kB / 0.5817 GB, free: 9.191 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1843, allocations: 0 / 0.5817 GB, free: 9.191 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.2121, allocations: 5.666 MB / 0.5873 GB, free: 3.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.234/8.446, allocations: 9.969 kB / 0.5873 GB, free: 3.676 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: 11.89156219502911]