Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001339/0.001339, 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.001797/0.001797, allocations: 174.3 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.9269/0.9269, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2451/0.2451, 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.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.696e-05, allocations: 2.281 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.1865/0.1865, allocations: 4.29 MB / 446.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.1886, allocations: 3.601 MB / 450.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.1887, allocations: 2.938 kB / 450.1 MB, free: 40.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.189, allocations: 51.86 kB / 450.2 MB, free: 39.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.1902, allocations: 0.7604 MB / 450.9 MB, free: 39.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1905, allocations: 138.8 kB / 451 MB, free: 39.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.1909, allocations: 394.4 kB / 451.4 MB, free: 39.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.991e-05/0.1909, allocations: 7.469 kB / 451.4 MB, free: 39.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.1911, allocations: 190.8 kB / 451.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.1913, allocations: 139.5 kB / 451.8 MB, free: 39.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1913, allocations: 8.594 kB / 451.8 MB, free: 39.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004879/0.1918, allocations: 383.9 kB / 452.1 MB, free: 39.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.1918, allocations: 55.22 kB / 452.2 MB, free: 39.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.1919, allocations: 85.12 kB / 452.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003994/0.1923, allocations: 481.9 kB / 452.8 MB, free: 38.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1923, allocations: 2.875 kB / 452.8 MB, free: 38.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1923, allocations: 0 / 452.8 MB, free: 38.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1923, allocations: 0 / 452.8 MB, free: 38.89 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.000665/0.193, allocations: 0.5323 MB / 453.3 MB, free: 38.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.193, allocations: 8.656 kB / 453.3 MB, free: 38.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.193, allocations: 61.84 kB / 453.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.1931, allocations: 22.91 kB / 453.4 MB, free: 38.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.1933, allocations: 170.4 kB / 453.5 MB, free: 38.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.862e-05/0.1934, allocations: 228.8 kB / 453.8 MB, free: 38.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1934, allocations: 22.56 kB / 453.8 MB, free: 38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.1937, allocations: 489.5 kB / 454.3 MB, free: 37.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1937, allocations: 7.938 kB / 454.3 MB, free: 37.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1938, allocations: 6.938 kB / 454.3 MB, free: 37.63 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.573e-05/0.1938, allocations: 5.781 kB / 454.3 MB, free: 37.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.1942, allocations: 0.7184 MB / 455 MB, free: 37.51 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.0006864/0.1948, allocations: 1.076 MB / 456.1 MB, free: 36.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1951, allocations: 147.9 kB / 456.2 MB, free: 36.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.1951, allocations: 77.62 kB / 456.3 MB, free: 36.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007056/0.1958, allocations: 0.7364 MB / 457 MB, free: 36.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.1958, allocations: 41.31 kB / 457.1 MB, free: 36.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1958, allocations: 0 / 457.1 MB, free: 36.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001816/0.196, allocations: 117.5 kB / 457.2 MB, free: 35.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.775e-05/0.196, allocations: 54.25 kB / 457.2 MB, free: 35.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.283e-05/0.1961, allocations: 238.3 kB / 457.5 MB, free: 35.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.1961, allocations: 32.52 kB / 457.5 MB, free: 35.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.1962, allocations: 219.9 kB / 457.7 MB, free: 35.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1962, allocations: 40.52 kB / 457.8 MB, free: 35.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/0.1963, allocations: 87.53 kB / 457.9 MB, free: 35.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.024e-05/0.1963, allocations: 327.9 kB / 458.2 MB, free: 35.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.1963, allocations: 52.14 kB / 458.2 MB, free: 35.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1964, allocations: 348 kB / 458.6 MB, free: 34.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.1966, allocations: 439 kB / 459 MB, free: 34.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.1966, allocations: 9.219 kB / 459 MB, free: 34.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002831/0.1969, allocations: 375 kB / 459.4 MB, free: 34.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1969, allocations: 13.56 kB / 459.4 MB, free: 34.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.1969, allocations: 15.12 kB / 459.4 MB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.197, allocations: 15.41 kB / 459.4 MB, free: 34.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1971, allocations: 100 kB / 459.5 MB, free: 34.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1971, allocations: 23.59 kB / 459.5 MB, free: 34.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.1972, allocations: 59.88 kB / 459.6 MB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1972, allocations: 32.19 kB / 459.6 MB, free: 33.99 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 5.391e-05/0.1973, allocations: 144.1 kB / 459.8 MB, free: 33.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.1973, allocations: 21.2 kB / 459.8 MB, free: 33.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.1975, allocations: 150.4 kB / 459.9 MB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1975, allocations: 3.094 kB / 459.9 MB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1975, allocations: 0 / 459.9 MB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1975, allocations: 3.938 kB / 459.9 MB, free: 33.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.1977, allocations: 379.7 kB / 460.3 MB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1977, allocations: 0 / 460.3 MB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.1977, allocations: 16.56 kB / 460.3 MB, free: 33.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1977, allocations: 7.266 kB / 460.3 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1977, allocations: 3.188 kB / 460.3 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1977, allocations: 1.312 kB / 460.3 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1977, allocations: 3.125 kB / 460.3 MB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.851e-05/0.1978, allocations: 201.2 kB / 460.5 MB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.1978, allocations: 27.95 kB / 460.6 MB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1978, allocations: 11.3 kB / 460.6 MB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.1979, allocations: 3.219 kB / 460.6 MB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.1979, allocations: 10.34 kB / 460.6 MB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-06/0.1979, allocations: 3.156 kB / 460.6 MB, free: 33.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.757e-05/0.198, allocations: 159.3 kB / 460.7 MB, free: 33.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.198, allocations: 0 / 460.7 MB, free: 33.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.1983, allocations: 95.3 kB / 460.8 MB, free: 33.07 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.0002818/0.1985, allocations: 0.8078 MB / 461.6 MB, free: 32.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.1987, allocations: 165.8 kB / 461.8 MB, free: 32.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1987, allocations: 320 / 461.8 MB, free: 32.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.896e-05/0.1987, allocations: 30.69 kB / 461.8 MB, free: 32.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.199, allocations: 38.91 kB / 461.9 MB, free: 32.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.2004, allocations: 2.742 MB / 464.6 MB, free: 29.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.89e-05/0.2004, allocations: 118.2 kB / 464.7 MB, free: 29.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.2005, allocations: 52.92 kB / 464.8 MB, free: 29.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.2006, allocations: 62.41 kB / 464.8 MB, free: 29.74 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2006, allocations: 4 kB / 464.8 MB, free: 29.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.2152, allocations: 6.008 MB / 470.9 MB, free: 28.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.843, allocations: 9.797 kB / 470.9 MB, free: 28.4 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.908135124482214]