Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007257/0.0007257, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008611/0.0008611, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8815/0.8815, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2339/0.2339, allocations: 34.23 MB / 294.8 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.279e-05, allocations: 8.609 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.1744/0.1744, allocations: 4.676 MB / 446.9 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.1767, allocations: 4.095 MB / 451 MB, free: 39.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.785e-05/0.1768, allocations: 2.844 kB / 451 MB, free: 39.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.177, allocations: 51.55 kB / 451 MB, free: 39.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009691/0.178, allocations: 0.7094 MB / 451.7 MB, free: 38.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.1782, allocations: 162.9 kB / 451.9 MB, free: 38.81 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003302/0.1785, allocations: 380.7 kB / 452.3 MB, free: 38.63 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.1785, allocations: 10.89 kB / 452.3 MB, free: 38.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1787, allocations: 202.1 kB / 452.5 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.1788, allocations: 117.1 kB / 452.6 MB, free: 38.53 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1788, allocations: 8.688 kB / 452.6 MB, free: 38.53 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.1801, allocations: 314 kB / 452.9 MB, free: 38.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.1802, allocations: 55.94 kB / 452.9 MB, free: 38.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.466e-05/0.1803, allocations: 82.84 kB / 453 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005908/0.1809, allocations: 452.2 kB / 453.5 MB, free: 38.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1809, allocations: 0 / 453.5 MB, free: 38.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1809, allocations: 0 / 453.5 MB, free: 38.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1809, allocations: 6.875 kB / 453.5 MB, free: 38.23 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.0007308/0.1816, allocations: 0.5193 MB / 454 MB, free: 37.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1817, allocations: 8.562 kB / 454 MB, free: 37.84 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1817, allocations: 61.8 kB / 454.1 MB, free: 37.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.1818, allocations: 25.84 kB / 454.1 MB, free: 37.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1821, allocations: 170.4 kB / 454.3 MB, free: 37.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-05/0.1822, allocations: 226.2 kB / 454.5 MB, free: 37.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1822, allocations: 22.41 kB / 454.5 MB, free: 37.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003481/0.1826, allocations: 0.5052 MB / 455 MB, free: 36.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1826, allocations: 3.938 kB / 455 MB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1826, allocations: 10.91 kB / 455 MB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.1826, allocations: 8.25 kB / 455 MB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.183, allocations: 0.7186 MB / 455.7 MB, free: 36.82 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.0007072/0.1837, allocations: 1.074 MB / 456.8 MB, free: 35.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.184, allocations: 143.7 kB / 457 MB, free: 35.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.724e-05/0.184, allocations: 67.23 kB / 457 MB, free: 35.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007825/0.1848, allocations: 0.6556 MB / 457.7 MB, free: 35.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.1848, allocations: 37.5 kB / 457.7 MB, free: 35.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.1848, allocations: 0 / 457.7 MB, free: 35.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004818/0.1853, allocations: 217.6 kB / 457.9 MB, free: 35.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.1853, allocations: 55.12 kB / 458 MB, free: 35.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.1855, allocations: 228.2 kB / 458.2 MB, free: 35.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1855, allocations: 33.11 kB / 458.2 MB, free: 35.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.1855, allocations: 219.5 kB / 458.5 MB, free: 34.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.1855, allocations: 58.67 kB / 458.5 MB, free: 34.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.1856, allocations: 79.55 kB / 458.6 MB, free: 34.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.522e-05/0.1856, allocations: 331.9 kB / 458.9 MB, free: 34.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.1857, allocations: 53.23 kB / 459 MB, free: 34.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1858, allocations: 313.3 kB / 459.3 MB, free: 34.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.186, allocations: 411.7 kB / 459.7 MB, free: 33.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.186, allocations: 2.844 kB / 459.7 MB, free: 33.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003284/0.1863, allocations: 367 kB / 460 MB, free: 33.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1864, allocations: 11.98 kB / 460 MB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1864, allocations: 15.34 kB / 460.1 MB, free: 33.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1864, allocations: 13.31 kB / 460.1 MB, free: 33.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.1866, allocations: 105.4 kB / 460.2 MB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1866, allocations: 20.23 kB / 460.2 MB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1867, allocations: 24.53 kB / 460.2 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.1867, allocations: 26 kB / 460.2 MB, free: 33.44 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.81e-05/0.1868, allocations: 156.6 kB / 460.4 MB, free: 33.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.815e-05/0.1868, allocations: 21.33 kB / 460.4 MB, free: 33.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.187, allocations: 158.6 kB / 460.6 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.187, allocations: 3.938 kB / 460.6 MB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.187, allocations: 0 / 460.6 MB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.187, allocations: 7.062 kB / 460.6 MB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.1873, allocations: 405.4 kB / 461 MB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1873, allocations: 0 / 461 MB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-05/0.1874, allocations: 32.86 kB / 461 MB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1874, allocations: 3.094 kB / 461 MB, free: 32.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1874, allocations: 3.969 kB / 461 MB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1874, allocations: 7.219 kB / 461 MB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1874, allocations: 0 / 461 MB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.1876, allocations: 211.6 kB / 461.2 MB, free: 32.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.1876, allocations: 24.8 kB / 461.3 MB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1876, allocations: 11.22 kB / 461.3 MB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.1877, allocations: 7.156 kB / 461.3 MB, free: 32.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.1877, allocations: 16.55 kB / 461.3 MB, free: 32.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1877, allocations: 6.547 kB / 461.3 MB, free: 32.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.853e-05/0.1878, allocations: 151.6 kB / 461.4 MB, free: 32.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1878, allocations: 0 / 461.4 MB, free: 32.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.1881, allocations: 107.2 kB / 461.5 MB, free: 32.55 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.0003812/0.1885, allocations: 0.8229 MB / 462.4 MB, free: 31.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.1887, allocations: 168.8 kB / 462.5 MB, free: 31.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1887, allocations: 4.062 kB / 462.5 MB, free: 31.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.1888, allocations: 33.03 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.0002959/0.1891, allocations: 51.53 kB / 462.6 MB, free: 31.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.1907, allocations: 2.664 MB / 465.3 MB, free: 29.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.618e-05/0.1907, allocations: 113.5 kB / 465.4 MB, free: 29.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.1909, allocations: 61.88 kB / 465.5 MB, free: 29.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.1909, allocations: 66.73 kB / 465.5 MB, free: 29.37 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1909, allocations: 3.938 kB / 465.5 MB, free: 29.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.209, allocations: 6.439 MB / 472 MB, free: 27.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.04, allocations: 15.38 kB / 472 MB, free: 27.93 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.993540497496724]