Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.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.0019/0.0019, allocations: 109.2 kB / 20.48 MB, free: 1.492 MB / 14.72 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.002703/0.002703, allocations: 211.1 kB / 23.78 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 207.6 MB / 234.5 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2529/0.2529, allocations: 44.24 MB / 331.1 MB, free: 9.543 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0038/0.0038, allocations: 74.88 kB / 468.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1835, allocations: 61.05 MB / 0.5169 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004897/0.1884, allocations: 1.641 MB / 0.5185 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.1908, allocations: 1.056 MB / 0.5196 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1909, allocations: 0 / 0.5196 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.1912, allocations: 23.84 kB / 0.5196 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003245/0.1915, allocations: 51.77 kB / 0.5196 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/0.1921, allocations: 155.7 kB / 0.5198 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002636/0.1924, allocations: 67.77 kB / 0.5198 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1925, allocations: 19.97 kB / 0.5199 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.1926, allocations: 19.92 kB / 0.5199 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.1929, allocations: 35.84 kB / 0.5199 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.1929, allocations: 4 kB / 0.5199 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.1931, allocations: 51.92 kB / 0.52 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.228e-05/0.1932, allocations: 27.84 kB / 0.52 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.537e-05/0.1932, allocations: 31.8 kB / 0.52 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003694/0.1936, allocations: 107.6 kB / 0.5201 GB, free: 4.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1936, allocations: 0 / 0.5201 GB, free: 4.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1936, allocations: 0 / 0.5201 GB, free: 4.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.1936, allocations: 0 / 0.5201 GB, free: 4.035 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007893/0.1944, allocations: 317.8 kB / 0.5204 GB, free: 3.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.1945, allocations: 12.03 kB / 0.5204 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.567e-05/0.1945, allocations: 192 / 0.5204 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.1945, allocations: 34.75 kB / 0.5205 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.1946, allocations: 12.89 kB / 0.5205 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.1949, allocations: 142.3 kB / 0.5206 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1949, allocations: 4.375 kB / 0.5206 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.1949, allocations: 8.125 kB / 0.5206 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.1952, allocations: 75.38 kB / 0.5207 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1952, allocations: 0 / 0.5207 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1952, allocations: 0 / 0.5207 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1952, allocations: 0 / 0.5207 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.1954, allocations: 47.95 kB / 0.5208 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.196, allocations: 275.8 kB / 0.521 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.1962, allocations: 42.56 kB / 0.5211 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1963, allocations: 28.94 kB / 0.5211 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.1963, allocations: 0 / 0.5211 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.1964, allocations: 38.48 kB / 0.5211 GB, free: 2.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.1964, allocations: 4 kB / 0.5211 GB, free: 2.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.001128/0.1975, allocations: 225.3 kB / 0.5213 GB, free: 2.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.1976, allocations: 85.03 kB / 0.5214 GB, free: 2.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1978, allocations: 146.9 kB / 0.5216 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.1978, allocations: 25.7 kB / 0.5216 GB, free: 2.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.1979, allocations: 96.09 kB / 0.5217 GB, free: 2.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.198, allocations: 27.84 kB / 0.5217 GB, free: 2.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.198, allocations: 17.72 kB / 0.5217 GB, free: 2.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.1982, allocations: 326.8 kB / 0.522 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.1984, allocations: 35.97 kB / 0.5221 GB, free: 1.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.1986, allocations: 53.67 kB / 0.5221 GB, free: 1.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.1989, allocations: 88.83 kB / 0.5222 GB, free: 1.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1989, allocations: 0 / 0.5222 GB, free: 1.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003973/0.1993, allocations: 121.5 kB / 0.5223 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.1993, allocations: 4 kB / 0.5223 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1993, allocations: 0 / 0.5223 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.1994, allocations: 4 kB / 0.5223 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.1995, allocations: 23.91 kB / 0.5223 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1995, allocations: 3.938 kB / 0.5224 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.044e-05/0.1996, allocations: 16 kB / 0.5224 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.1996, allocations: 3.984 kB / 0.5224 GB, free: 1.523 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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 0.0001283/0.1998, allocations: 117.8 kB / 0.5225 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.1998, allocations: 7.953 kB / 0.5225 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.2003, allocations: 142.2 kB / 0.5226 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2003, allocations: 4 kB / 0.5226 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.2003, allocations: 7.938 kB / 0.5226 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2003, allocations: 288 / 0.5226 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007407/0.201, allocations: 373.6 kB / 0.523 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.201, allocations: 0 / 0.523 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.2012, allocations: 23.92 kB / 0.523 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.2012, allocations: 11.92 kB / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2012, allocations: 4 kB / 0.523 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2012, allocations: 0 / 0.523 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2012, allocations: 3.938 kB / 0.523 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.2016, allocations: 219.9 kB / 0.5232 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.2017, allocations: 11.89 kB / 0.5233 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.2017, allocations: 4 kB / 0.5233 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.2018, allocations: 11.98 kB / 0.5233 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.2019, allocations: 11.98 kB / 0.5233 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.2019, allocations: 0 / 0.5233 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.202, allocations: 109.1 kB / 0.5234 GB, free: 408 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.202, allocations: 0 / 0.5234 GB, free: 408 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004024/0.2024, allocations: 27.94 kB / 0.5234 GB, free: 380 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.002728/0.2051, allocations: 1.09 MB / 0.5245 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004134/0.2056, allocations: 91.86 kB / 0.5246 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2056, allocations: 0 / 0.5246 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.2057, allocations: 47.91 kB / 0.5246 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.2062, allocations: 23.98 kB / 0.5246 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.2089, allocations: 1.597 MB / 0.5262 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.2093, allocations: 0.6973 MB / 0.5269 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.2095, allocations: 33.03 kB / 0.5269 GB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.2096, allocations: 27.42 kB / 0.5269 GB, free: 12.69 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2096, allocations: 0 / 0.5269 GB, free: 12.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.2413, allocations: 3.348 MB / 0.5302 GB, free: 9.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.34, allocations: 4.062 kB / 0.5302 GB, free: 9.215 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.046163196035195]