Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001741/0.001741, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.002393/0.002393, allocations: 213.2 kB / 23 MB, free: 5.004 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.418/1.418, allocations: 207.6 MB / 233.8 MB, free: 10 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.2221/0.2221, allocations: 44.24 MB / 330.3 MB, free: 9.617 MB / 270.1 MB " [Timeout remaining time 180] 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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",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.002264/0.002264, allocations: 71.89 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1235, allocations: 61.05 MB / 0.5162 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003523/0.127, allocations: 1.584 MB / 0.5177 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000796/0.1278, allocations: 347.5 kB / 0.518 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.1279, allocations: 0 / 0.518 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007255/0.1286, allocations: 459.1 kB / 0.5185 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.129, allocations: 251.5 kB / 0.5187 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1294, allocations: 143.7 kB / 0.5189 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.1297, allocations: 167.7 kB / 0.519 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1298, allocations: 11.92 kB / 0.519 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1299, allocations: 115.6 kB / 0.5191 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/0.1302, allocations: 243.5 kB / 0.5194 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1302, allocations: 0 / 0.5194 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.349e-05/0.1303, allocations: 20 kB / 0.5194 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1304, allocations: 87.67 kB / 0.5195 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.556e-05/0.1305, allocations: 99.06 kB / 0.5196 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.1308, allocations: 254.6 kB / 0.5198 GB, free: 3.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1308, allocations: 0 / 0.5198 GB, free: 3.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1308, allocations: 0 / 0.5198 GB, free: 3.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.872e-06/0.1308, allocations: 0 / 0.5198 GB, free: 3.586 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008101/0.1316, allocations: 0.5777 MB / 0.5204 GB, free: 2.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1317, allocations: 8.031 kB / 0.5204 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.1317, allocations: 30.75 kB / 0.5204 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.1318, allocations: 44.66 kB / 0.5204 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.1322, allocations: 238.8 kB / 0.5207 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-06/0.1322, allocations: 8.375 kB / 0.5207 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1322, allocations: 384 / 0.5207 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.1324, allocations: 57.56 kB / 0.5207 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1324, allocations: 0 / 0.5207 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1324, allocations: 0 / 0.5207 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1324, allocations: 0 / 0.5207 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.611e-05/0.1325, allocations: 27.97 kB / 0.5208 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.1331, allocations: 359.8 kB / 0.5211 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.32e-05/0.1332, allocations: 34.5 kB / 0.5211 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.1333, allocations: 16.92 kB / 0.5212 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1333, allocations: 3.984 kB / 0.5212 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.1333, allocations: 34.55 kB / 0.5212 GB, free: 2.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1333, allocations: 0 / 0.5212 GB, free: 2.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002962/0.1336, allocations: 105.4 kB / 0.5213 GB, free: 1.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.1337, allocations: 51.41 kB / 0.5213 GB, free: 1.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009561/0.1346, allocations: 0.8691 MB / 0.5222 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1346, allocations: 25.7 kB / 0.5222 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.1348, allocations: 228.1 kB / 0.5224 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.1348, allocations: 11.83 kB / 0.5224 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.1349, allocations: 13.72 kB / 0.5225 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.1351, allocations: 370.8 kB / 0.5228 GB, free: 320 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.521e-05/0.1351, allocations: 4 kB / 0.5228 GB, free: 316 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.036e-05/0.1352, allocations: 15.98 kB / 0.5228 GB, free: 300 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.68e-05/0.1353, allocations: 24.84 kB / 0.5229 GB, free: 272 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1353, allocations: 0 / 0.5229 GB, free: 272 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001603/0.1354, allocations: 93.41 kB / 0.5229 GB, free: 172 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1354, allocations: 12.08 kB / 0.523 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1354, allocations: 0 / 0.523 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1355, allocations: 0 / 0.523 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.932e-05/0.1355, allocations: 11.94 kB / 0.523 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1355, allocations: 0 / 0.523 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.1356, allocations: 4 kB / 0.523 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1356, allocations: 0 / 0.523 GB, free: 144 kB / 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 (2): * Single equations (assignments): 2 * 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.0002239/0.1358, allocations: 221.6 kB / 0.5232 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.1359, allocations: 47.67 kB / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.1361, allocations: 104.8 kB / 0.5233 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1361, allocations: 0 / 0.5233 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1361, allocations: 3.984 kB / 0.5233 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1361, allocations: 0 / 0.5233 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.1364, allocations: 260.6 kB / 0.5236 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1364, allocations: 0 / 0.5236 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.409e-05/0.1365, allocations: 4 kB / 0.5236 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1365, allocations: 3.938 kB / 0.5236 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1365, allocations: 0 / 0.5236 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1365, allocations: 4.031 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1365, allocations: 4 kB / 0.5236 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.1367, allocations: 191.2 kB / 0.5238 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.1367, allocations: 35.72 kB / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.1368, allocations: 0 / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.1368, allocations: 3.984 kB / 0.5238 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1369, allocations: 8.031 kB / 0.5238 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1369, allocations: 0 / 0.5238 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007293/0.1376, allocations: 0.655 MB / 0.5245 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1376, allocations: 4 kB / 0.5245 GB, free: 14.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1379, allocations: 19.88 kB / 0.5245 GB, free: 14.51 MB / 414.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 (2): * Single equations (assignments): 2 * 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.001798/0.1397, allocations: 0.9765 MB / 0.5254 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.1398, allocations: 23.98 kB / 0.5255 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.1398, allocations: 4.062 kB / 0.5255 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/0.1399, allocations: 15.98 kB / 0.5255 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.1403, allocations: 26.23 kB / 0.5255 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.1441, allocations: 3.146 MB / 0.5286 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.1445, allocations: 0.8182 MB / 0.5294 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.545e-05/0.1446, allocations: 11.98 kB / 0.5294 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.1447, allocations: 111.4 kB / 0.5295 GB, free: 9.281 MB / 414.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1447, allocations: 4 kB / 0.5295 GB, free: 9.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.177, allocations: 5.907 MB / 0.5353 GB, free: 3.281 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.79, allocations: 15.94 kB / 0.5353 GB, free: 3.266 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable const.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.998648644999776]