Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008315/0.0008315, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008284/0.0008284, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8813/0.8813, allocations: 177.1 MB / 204.2 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2217/0.2217, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 439.6 MB, free: 4.215 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.269e-05, allocations: 4.25 kB / 439.6 MB, free: 4.211 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.1692/0.1692, allocations: 4.677 MB / 444.3 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.1715, allocations: 4.097 MB / 448.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.1716, allocations: 6.844 kB / 448.4 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1718, allocations: 55.69 kB / 448.4 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.1729, allocations: 0.7009 MB / 449.1 MB, free: 41.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.1731, allocations: 162 kB / 449.3 MB, free: 41.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.1734, allocations: 375.9 kB / 449.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.1735, allocations: 7.344 kB / 449.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1737, allocations: 211.5 kB / 449.9 MB, free: 41.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1738, allocations: 112 kB / 450 MB, free: 41.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1738, allocations: 8.562 kB / 450 MB, free: 41.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004045/0.1742, allocations: 320.5 kB / 450.3 MB, free: 41.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.1742, allocations: 48.09 kB / 450.4 MB, free: 41.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.1743, allocations: 83.09 kB / 450.4 MB, free: 41.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.1747, allocations: 457.4 kB / 450.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1747, allocations: 0 / 450.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1747, allocations: 0 / 450.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1747, allocations: 3.938 kB / 450.9 MB, free: 41.09 MB / 410.7 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.0006623/0.1754, allocations: 0.5098 MB / 451.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1754, allocations: 15.91 kB / 451.4 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.835e-05/0.1755, allocations: 56.95 kB / 451.5 MB, free: 40.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.833e-05/0.1756, allocations: 37.69 kB / 451.5 MB, free: 40.69 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.1758, allocations: 168.2 kB / 451.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.817e-05/0.1759, allocations: 228.8 kB / 451.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1759, allocations: 19.5 kB / 451.9 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.1762, allocations: 0.5095 MB / 452.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1762, allocations: 2.875 kB / 452.4 MB, free: 39.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.1762, allocations: 14.84 kB / 452.4 MB, free: 39.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.1762, allocations: 5.781 kB / 452.5 MB, free: 39.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.1766, allocations: 0.7115 MB / 453.2 MB, free: 39.8 MB / 410.7 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.0006882/0.1773, allocations: 1.074 MB / 454.2 MB, free: 38.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.1775, allocations: 136.6 kB / 454.4 MB, free: 38.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.712e-05/0.1776, allocations: 73.56 kB / 454.4 MB, free: 38.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006733/0.1783, allocations: 0.668 MB / 455.1 MB, free: 38.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.1783, allocations: 37.78 kB / 455.2 MB, free: 38.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1783, allocations: 0 / 455.2 MB, free: 38.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004421/0.1787, allocations: 214.4 kB / 455.4 MB, free: 38.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/0.1787, allocations: 59.19 kB / 455.4 MB, free: 38.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/0.1788, allocations: 227.2 kB / 455.6 MB, free: 38.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.1788, allocations: 28.83 kB / 455.7 MB, free: 38.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.1789, allocations: 217.7 kB / 455.9 MB, free: 37.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.1789, allocations: 54.38 kB / 455.9 MB, free: 37.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.179, allocations: 83.69 kB / 456 MB, free: 37.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.923e-05/0.179, allocations: 336.3 kB / 456.3 MB, free: 37.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.179, allocations: 54.16 kB / 456.4 MB, free: 37.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1791, allocations: 308.5 kB / 456.7 MB, free: 37.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.1793, allocations: 417.1 kB / 457.1 MB, free: 36.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1793, allocations: 3.375 kB / 457.1 MB, free: 36.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002923/0.1796, allocations: 372.1 kB / 457.5 MB, free: 36.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1797, allocations: 6.5 kB / 457.5 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1797, allocations: 9.594 kB / 457.5 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1797, allocations: 13.06 kB / 457.5 MB, free: 36.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.1799, allocations: 106.9 kB / 457.6 MB, free: 36.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.1799, allocations: 22.66 kB / 457.6 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.18, allocations: 17.19 kB / 457.6 MB, free: 36.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.18, allocations: 32.12 kB / 457.7 MB, free: 36.42 MB / 410.7 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 6.379e-05/0.1801, allocations: 154.8 kB / 457.8 MB, free: 36.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.1801, allocations: 21.36 kB / 457.8 MB, free: 36.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.1803, allocations: 154.9 kB / 458 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1803, allocations: 3.125 kB / 458 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1803, allocations: 0 / 458 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1803, allocations: 3.234 kB / 458 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.1806, allocations: 409.6 kB / 458.4 MB, free: 35.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1806, allocations: 0 / 458.4 MB, free: 35.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.828e-05/0.1807, allocations: 28.81 kB / 458.4 MB, free: 35.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.1807, allocations: 2.969 kB / 458.4 MB, free: 35.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1807, allocations: 1.312 kB / 458.4 MB, free: 35.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.1807, allocations: 8.281 kB / 458.4 MB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1807, allocations: 4.031 kB / 458.4 MB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.1808, allocations: 220.3 kB / 458.7 MB, free: 35.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.534e-05/0.1808, allocations: 22.66 kB / 458.7 MB, free: 35.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1809, allocations: 7.125 kB / 458.7 MB, free: 35.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.181, allocations: 10.42 kB / 458.7 MB, free: 35.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.181, allocations: 21 kB / 458.7 MB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.181, allocations: 3.344 kB / 458.7 MB, free: 35.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.539e-05/0.181, allocations: 149 kB / 458.9 MB, free: 35.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.181, allocations: 0 / 458.9 MB, free: 35.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003055/0.1813, allocations: 100.7 kB / 459 MB, free: 35.53 MB / 410.7 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.0003536/0.1817, allocations: 0.8276 MB / 459.8 MB, free: 34.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1819, allocations: 177.9 kB / 460 MB, free: 34.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1819, allocations: 1.969 kB / 460 MB, free: 34.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.1819, allocations: 44.28 kB / 460 MB, free: 34.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.1822, allocations: 44.06 kB / 460.1 MB, free: 34.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1836, allocations: 2.66 MB / 462.7 MB, free: 32.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/0.1837, allocations: 111.8 kB / 462.8 MB, free: 32.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.1838, allocations: 60.33 kB / 462.9 MB, free: 32.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.149e-05/0.1839, allocations: 70.86 kB / 463 MB, free: 32.33 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1839, allocations: 0 / 463 MB, free: 32.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.2006, allocations: 6.437 MB / 469.4 MB, free: 30.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.806/7.007, allocations: 6.562 kB / 469.4 MB, free: 30.93 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.959997756406665]