Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001031/0.001031, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.0009292/0.0009292, allocations: 166 kB / 23.95 MB, free: 0.5977 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.9201/0.9201, allocations: 177.1 MB / 204.2 MB, free: 5.73 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.2369/0.2369, allocations: 32.8 MB / 293.5 MB, free: 1.246 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.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 439.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.104e-05, allocations: 2.281 kB / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.1884/0.1884, allocations: 4.306 MB / 443.9 MB, free: 43.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002663/0.1911, allocations: 3.59 MB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.467e-05/0.1911, allocations: 2.75 kB / 447.5 MB, free: 42.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1914, allocations: 51.08 kB / 447.6 MB, free: 42.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.1929, allocations: 0.7702 MB / 448.3 MB, free: 42.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.1932, allocations: 142 kB / 448.5 MB, free: 42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.1937, allocations: 387.1 kB / 448.8 MB, free: 41.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.1938, allocations: 7.688 kB / 448.9 MB, free: 41.87 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.194, allocations: 200.6 kB / 449 MB, free: 41.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.1942, allocations: 129.1 kB / 449.2 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.1942, allocations: 8.812 kB / 449.2 MB, free: 41.81 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005875/0.1948, allocations: 384.1 kB / 449.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.1949, allocations: 53.75 kB / 449.6 MB, free: 41.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.1949, allocations: 73.03 kB / 449.7 MB, free: 41.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.1954, allocations: 495 kB / 450.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1954, allocations: 0 / 450.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1954, allocations: 3.938 kB / 450.2 MB, free: 41.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1954, allocations: 0 / 450.2 MB, free: 41.62 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.0007401/0.1961, allocations: 0.5235 MB / 450.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.1962, allocations: 12.34 kB / 450.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.1962, allocations: 63.22 kB / 450.8 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.1963, allocations: 29.39 kB / 450.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.1966, allocations: 160.8 kB / 451 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.1967, allocations: 229.9 kB / 451.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1967, allocations: 22.22 kB / 451.2 MB, free: 40.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.1972, allocations: 488.3 kB / 451.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1972, allocations: 0 / 451.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.1972, allocations: 18.94 kB / 451.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.1972, allocations: 8.781 kB / 451.7 MB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004941/0.1977, allocations: 0.7233 MB / 452.4 MB, free: 40.41 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.000814/0.1986, allocations: 1.075 MB / 453.5 MB, free: 39.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.1988, allocations: 150.2 kB / 453.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.791e-05/0.1989, allocations: 80.48 kB / 453.7 MB, free: 39.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008218/0.1997, allocations: 0.7183 MB / 454.4 MB, free: 39.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.1997, allocations: 33.69 kB / 454.5 MB, free: 38.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.1997, allocations: 4 kB / 454.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002486/0.2, allocations: 120.2 kB / 454.6 MB, free: 38.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.2, allocations: 51.41 kB / 454.7 MB, free: 38.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.2001, allocations: 245.9 kB / 454.9 MB, free: 38.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2001, allocations: 29.7 kB / 454.9 MB, free: 38.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.2002, allocations: 228.9 kB / 455.1 MB, free: 38.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.2002, allocations: 41.56 kB / 455.2 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.2003, allocations: 84.56 kB / 455.3 MB, free: 38.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.253e-05/0.2003, allocations: 330.9 kB / 455.6 MB, free: 38.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.359e-05/0.2004, allocations: 47.14 kB / 455.6 MB, free: 38.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2005, allocations: 348.9 kB / 456 MB, free: 37.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.2007, allocations: 440.8 kB / 456.4 MB, free: 37.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.2007, allocations: 3 kB / 456.4 MB, free: 37.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003097/0.201, allocations: 375.2 kB / 456.8 MB, free: 36.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.201, allocations: 15 kB / 456.8 MB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.201, allocations: 15.8 kB / 456.8 MB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2011, allocations: 18.02 kB / 456.8 MB, free: 36.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2012, allocations: 96.38 kB / 456.9 MB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.2012, allocations: 19.59 kB / 456.9 MB, free: 36.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.2013, allocations: 58.78 kB / 457 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.2013, allocations: 29.69 kB / 457 MB, free: 36.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.221e-05/0.2014, allocations: 150.3 kB / 457.2 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.2014, allocations: 24.75 kB / 457.2 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001798/0.2016, allocations: 140.8 kB / 457.3 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.2016, allocations: 0 / 457.3 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2016, allocations: 0 / 457.3 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2016, allocations: 10.31 kB / 457.3 MB, free: 36.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.2019, allocations: 375.2 kB / 457.7 MB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.2019, allocations: 8.141 kB / 457.7 MB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.803e-05/0.2019, allocations: 9.25 kB / 457.7 MB, free: 36.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2019, allocations: 11.16 kB / 457.7 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.2019, allocations: 7.938 kB / 457.7 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2019, allocations: 6.297 kB / 457.7 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2019, allocations: 3.938 kB / 457.8 MB, free: 36.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.007e-05/0.202, allocations: 201.5 kB / 458 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.202, allocations: 21.28 kB / 458 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.2021, allocations: 18.28 kB / 458 MB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.2021, allocations: 3.188 kB / 458 MB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.2022, allocations: 10.08 kB / 458 MB, free: 36.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2022, allocations: 7.406 kB / 458 MB, free: 36.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.82e-05/0.2022, allocations: 156.1 kB / 458.2 MB, free: 36 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2022, allocations: 0 / 458.2 MB, free: 36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003242/0.2026, allocations: 91.05 kB / 458.3 MB, free: 35.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.000452/0.203, allocations: 0.7903 MB / 459 MB, free: 35.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.2032, allocations: 172 kB / 459.2 MB, free: 35.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2032, allocations: 0 / 459.2 MB, free: 35.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.159e-05/0.2032, allocations: 27.92 kB / 459.2 MB, free: 35.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.2035, allocations: 50.28 kB / 459.3 MB, free: 35.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.2052, allocations: 2.75 MB / 462 MB, free: 32.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.195e-05/0.2052, allocations: 115.7 kB / 462.1 MB, free: 32.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.2054, allocations: 57.56 kB / 462.2 MB, free: 32.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.2054, allocations: 62.81 kB / 462.3 MB, free: 32.65 MB / 410.7 MB Notification: Performance of SimCode: time 8.52e-07/0.2054, allocations: 0 / 462.3 MB, free: 32.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.2236, allocations: 6.009 MB / 468.3 MB, free: 31.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/6.977, allocations: 17.05 kB / 468.3 MB, free: 31.3 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.008772931993008]