Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.0009464/0.0009464, 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.00105/0.00105, 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.8953/0.8953, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2296/0.2296, allocations: 34.25 MB / 294.9 MB, free: 0.7188 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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.196e-05, allocations: 6.219 kB / 442.2 MB, free: 1.617 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.1734/0.1734, allocations: 24.13 MB / 466.3 MB, free: 29.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1749, allocations: 2.668 MB / 469 MB, free: 27.86 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.175, allocations: 0 / 469 MB, free: 27.86 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.1752, allocations: 61.14 kB / 469.1 MB, free: 27.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009063/0.1761, allocations: 0.7561 MB / 469.8 MB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.1763, allocations: 142.7 kB / 470 MB, free: 27.33 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.1766, allocations: 382 kB / 470.3 MB, free: 27.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.1767, allocations: 4.938 kB / 470.3 MB, free: 27.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01667/0.1933, allocations: 15.48 MB / 485.8 MB, free: 20.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.1936, allocations: 134.2 kB / 486 MB, free: 20.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.1936, allocations: 6 kB / 486 MB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004154/0.1978, allocations: 3.393 MB / 489.4 MB, free: 18.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.1979, allocations: 53.59 kB / 489.4 MB, free: 18.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.198, allocations: 81.3 kB / 489.5 MB, free: 18.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.199, allocations: 486.2 kB / 490 MB, free: 18.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.199, allocations: 0.6562 kB / 490 MB, free: 18.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.199, allocations: 1.281 kB / 490 MB, free: 18.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.199, allocations: 0 / 490 MB, free: 18.35 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.0008781/0.1999, allocations: 0.526 MB / 490.5 MB, free: 17.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2, allocations: 13.75 kB / 490.5 MB, free: 17.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.2, allocations: 61.67 kB / 490.6 MB, free: 17.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.2001, allocations: 29.58 kB / 490.6 MB, free: 17.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.2004, allocations: 165.6 kB / 490.8 MB, free: 17.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.994e-05/0.2005, allocations: 230.6 kB / 491 MB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.2005, allocations: 20.34 kB / 491 MB, free: 17.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.201, allocations: 492.3 kB / 491.5 MB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.201, allocations: 1.281 kB / 491.5 MB, free: 17.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.201, allocations: 15.38 kB / 491.5 MB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.201, allocations: 10.78 kB / 491.5 MB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006506/0.2017, allocations: 0.7173 MB / 492.2 MB, free: 16.96 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.0008571/0.2025, allocations: 1.079 MB / 493.3 MB, free: 16.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.2028, allocations: 148.3 kB / 493.4 MB, free: 16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.176e-05/0.2029, allocations: 73.94 kB / 493.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008882/0.2038, allocations: 0.7301 MB / 494.3 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.2038, allocations: 33.5 kB / 494.3 MB, free: 15.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.2038, allocations: 4 kB / 494.3 MB, free: 15.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002349/0.204, allocations: 120.6 kB / 494.4 MB, free: 15.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.2041, allocations: 57.5 kB / 494.5 MB, free: 15.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.2042, allocations: 238.3 kB / 494.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.2042, allocations: 27.02 kB / 494.7 MB, free: 15.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.2043, allocations: 225.8 kB / 494.9 MB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.2043, allocations: 47.19 kB / 495 MB, free: 14.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.2044, allocations: 85.58 kB / 495.1 MB, free: 14.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.2044, allocations: 325.2 kB / 495.4 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.2045, allocations: 50.3 kB / 495.4 MB, free: 14.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.2046, allocations: 349.8 kB / 495.8 MB, free: 14.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.2049, allocations: 441.7 kB / 496.2 MB, free: 13.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2049, allocations: 4.125 kB / 496.2 MB, free: 13.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003813/0.2052, allocations: 380.6 kB / 496.6 MB, free: 13.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.2053, allocations: 9.312 kB / 496.6 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.2053, allocations: 10.19 kB / 496.6 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2053, allocations: 18.66 kB / 496.6 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2054, allocations: 96.48 kB / 496.7 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.2055, allocations: 23.38 kB / 496.7 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.2056, allocations: 56.14 kB / 496.8 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.2056, allocations: 25.38 kB / 496.8 MB, free: 13.45 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.96e-05/0.2057, allocations: 154.3 kB / 497 MB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.2057, allocations: 18.5 kB / 497 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.2059, allocations: 151.9 kB / 497.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2059, allocations: 1.125 kB / 497.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2059, allocations: 5.938 kB / 497.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2059, allocations: 0.9375 kB / 497.1 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002427/0.2062, allocations: 374.5 kB / 497.5 MB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2062, allocations: 5.469 kB / 497.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.2062, allocations: 19.62 kB / 497.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2062, allocations: 1.984 kB / 497.5 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2062, allocations: 6.594 kB / 497.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.2062, allocations: 4.922 kB / 497.5 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2062, allocations: 1.344 kB / 497.6 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.2063, allocations: 204.5 kB / 497.7 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.2063, allocations: 22.92 kB / 497.8 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.2064, allocations: 7.078 kB / 497.8 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.2064, allocations: 3.578 kB / 497.8 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.2064, allocations: 11 kB / 497.8 MB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.2065, allocations: 4.531 kB / 497.8 MB, free: 12.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.553e-05/0.2065, allocations: 158.1 kB / 498 MB, free: 12.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2065, allocations: 0 / 498 MB, free: 12.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003544/0.2069, allocations: 99.05 kB / 498 MB, free: 12.53 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.0004286/0.2073, allocations: 0.8086 MB / 498.9 MB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002307/0.2075, allocations: 165.8 kB / 499 MB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2075, allocations: 0 / 499 MB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.2076, allocations: 21.05 kB / 499 MB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.2079, allocations: 49.02 kB / 499.1 MB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.2097, allocations: 2.738 MB / 0.4901 GB, free: 9.328 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.429e-05/0.2097, allocations: 120.6 kB / 0.4902 GB, free: 9.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.2099, allocations: 51.3 kB / 0.4902 GB, free: 9.227 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.2099, allocations: 62.05 kB / 0.4903 GB, free: 9.188 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.2099, allocations: 0 / 0.4903 GB, free: 9.188 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01773/0.2277, allocations: 6.03 MB / 0.4962 GB, free: 7.805 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.711/6.938, allocations: 4.25 kB / 0.4962 GB, free: 7.805 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.895002901554108]