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.0008086/0.0008086, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007958/0.0007958, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8885/0.8885, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2392/0.2392, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 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 2.044e-06/2.044e-06, allocations: 0 / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.634e-05, allocations: 10.22 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.1761/0.1761, allocations: 4.67 MB / 446.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.178, allocations: 4.097 MB / 451 MB, free: 39.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.1781, allocations: 3.938 kB / 451 MB, free: 39.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.1783, allocations: 47.91 kB / 451 MB, free: 39.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007366/0.179, allocations: 0.7041 MB / 451.7 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.1792, allocations: 168.2 kB / 451.9 MB, free: 38.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.1795, allocations: 373.8 kB / 452.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.1796, allocations: 11 kB / 452.3 MB, free: 38.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.1797, allocations: 203.3 kB / 452.5 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.827e-05/0.1798, allocations: 114.4 kB / 452.6 MB, free: 38.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1799, allocations: 5.781 kB / 452.6 MB, free: 38.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.1802, allocations: 322.8 kB / 452.9 MB, free: 38.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.1802, allocations: 52.14 kB / 453 MB, free: 38.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.1803, allocations: 79.44 kB / 453 MB, free: 38.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.1807, allocations: 451.7 kB / 453.5 MB, free: 38.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1807, allocations: 0 / 453.5 MB, free: 38.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1807, allocations: 0 / 453.5 MB, free: 38.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1807, allocations: 9.828 kB / 453.5 MB, free: 38.24 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.0006271/0.1813, allocations: 0.5121 MB / 454 MB, free: 37.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1813, allocations: 12.28 kB / 454 MB, free: 37.85 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.1814, allocations: 65.91 kB / 454.1 MB, free: 37.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.772e-05/0.1815, allocations: 25.5 kB / 454.1 MB, free: 37.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1817, allocations: 170.7 kB / 454.3 MB, free: 37.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.1818, allocations: 235.1 kB / 454.5 MB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1818, allocations: 22.84 kB / 454.5 MB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.1821, allocations: 0.5018 MB / 455 MB, free: 36.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1821, allocations: 3.938 kB / 455 MB, free: 36.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.1821, allocations: 10.14 kB / 455 MB, free: 36.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.1822, allocations: 5.812 kB / 455 MB, free: 36.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004192/0.1826, allocations: 0.7199 MB / 455.8 MB, free: 36.83 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.0006991/0.1833, allocations: 1.073 MB / 456.8 MB, free: 35.94 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1835, allocations: 138.9 kB / 457 MB, free: 35.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.951e-05/0.1835, allocations: 68.33 kB / 457 MB, free: 35.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006371/0.1842, allocations: 0.6632 MB / 457.7 MB, free: 35.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.1842, allocations: 33.47 kB / 457.7 MB, free: 35.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.1842, allocations: 0 / 457.7 MB, free: 35.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004255/0.1846, allocations: 223.7 kB / 458 MB, free: 35.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/0.1846, allocations: 58.3 kB / 458 MB, free: 35.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.1847, allocations: 222.7 kB / 458.2 MB, free: 35.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.1847, allocations: 34.7 kB / 458.3 MB, free: 35.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.1848, allocations: 222 kB / 458.5 MB, free: 34.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.1848, allocations: 51.06 kB / 458.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.1849, allocations: 87.52 kB / 458.6 MB, free: 34.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.036e-05/0.1849, allocations: 324.9 kB / 458.9 MB, free: 34.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.783e-05/0.1849, allocations: 53.55 kB / 459 MB, free: 34.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.942e-05/0.185, allocations: 319 kB / 459.3 MB, free: 34.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.1852, allocations: 406.4 kB / 459.7 MB, free: 33.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.1852, allocations: 2.844 kB / 459.7 MB, free: 33.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002729/0.1855, allocations: 370 kB / 460.1 MB, free: 33.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1855, allocations: 8.719 kB / 460.1 MB, free: 33.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1855, allocations: 9.969 kB / 460.1 MB, free: 33.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1855, allocations: 13.12 kB / 460.1 MB, free: 33.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.1857, allocations: 105.4 kB / 460.2 MB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1857, allocations: 24.41 kB / 460.2 MB, free: 33.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.1858, allocations: 25.28 kB / 460.2 MB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1859, allocations: 26.09 kB / 460.3 MB, free: 33.45 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.058e-05/0.1859, allocations: 158.2 kB / 460.4 MB, free: 33.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.1859, allocations: 21.39 kB / 460.4 MB, free: 33.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.1861, allocations: 160.5 kB / 460.6 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1861, allocations: 3.891 kB / 460.6 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1861, allocations: 1.062 kB / 460.6 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1861, allocations: 6.969 kB / 460.6 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.1864, allocations: 400.2 kB / 461 MB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1864, allocations: 0 / 461 MB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/0.1865, allocations: 37.33 kB / 461 MB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1865, allocations: 0 / 461 MB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.1865, allocations: 11.19 kB / 461 MB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1865, allocations: 3.188 kB / 461 MB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1865, allocations: 3.938 kB / 461.1 MB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.1866, allocations: 208.7 kB / 461.3 MB, free: 32.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.1866, allocations: 28.36 kB / 461.3 MB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.1866, allocations: 7.125 kB / 461.3 MB, free: 32.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-05/0.1867, allocations: 10.5 kB / 461.3 MB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.1868, allocations: 9.719 kB / 461.3 MB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.1868, allocations: 10.39 kB / 461.3 MB, free: 32.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.601e-05/0.1868, allocations: 150.1 kB / 461.5 MB, free: 32.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1868, allocations: 4 kB / 461.5 MB, free: 32.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.1871, allocations: 100.2 kB / 461.6 MB, free: 32.56 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.0003337/0.1874, allocations: 0.8192 MB / 462.4 MB, free: 31.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.1876, allocations: 176.7 kB / 462.6 MB, free: 31.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1876, allocations: 1.781 kB / 462.6 MB, free: 31.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.1876, allocations: 40.84 kB / 462.6 MB, free: 31.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.1879, allocations: 40.3 kB / 462.6 MB, free: 31.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.1893, allocations: 2.657 MB / 465.3 MB, free: 29.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.399e-05/0.1893, allocations: 113.8 kB / 465.4 MB, free: 29.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.1894, allocations: 70.69 kB / 465.5 MB, free: 29.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/0.1895, allocations: 70.91 kB / 465.5 MB, free: 29.36 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1895, allocations: 0 / 465.5 MB, free: 29.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.2043, allocations: 6.435 MB / 472 MB, free: 27.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.925/7.129, allocations: 4.359 kB / 472 MB, free: 27.96 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/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: 9.134653942659497]