Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 103.7 kB / 16.4 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 188.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2343/0.2343, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 70.19 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1237, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test31): time 0.003035/0.1268, allocations: 1.604 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1282, allocations: 0.9418 MB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.404e-05/0.1283, allocations: 7.938 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1285, allocations: 15.88 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.1287, allocations: 47.77 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.129, allocations: 107.8 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1292, allocations: 63.77 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.1293, allocations: 16.17 kB / 0.4902 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.934e-05/0.1293, allocations: 23.92 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1295, allocations: 31.84 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1295, allocations: 4 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1297, allocations: 59.91 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.1297, allocations: 11.94 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.1298, allocations: 35.78 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.13, allocations: 99.64 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.13, allocations: 0 / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.13, allocations: 0 / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.13, allocations: 0 / 0.4904 GB, free: 9.191 MB / 382.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.0005409/0.1305, allocations: 395 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1306, allocations: 11.89 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.171e-05/0.1306, allocations: 42.75 kB / 0.4908 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.1307, allocations: 8.891 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1309, allocations: 196.1 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.1309, allocations: 384 / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.131, allocations: 12.06 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.1312, allocations: 67.39 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1312, allocations: 0 / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1312, allocations: 4 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1312, allocations: 4 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.1314, allocations: 35.97 kB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1318, allocations: 288.8 kB / 0.4914 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.1319, allocations: 46.55 kB / 0.4915 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.132, allocations: 28.94 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1321, allocations: 0 / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1321, allocations: 30.56 kB / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1321, allocations: 0 / 0.4915 GB, free: 7.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007881/0.1329, allocations: 213.2 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.133, allocations: 77.11 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.1332, allocations: 146 kB / 0.4919 GB, free: 7.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.1332, allocations: 25.7 kB / 0.492 GB, free: 7.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.1333, allocations: 92.14 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.1333, allocations: 27.73 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.1334, allocations: 21.72 kB / 0.4921 GB, free: 7.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1335, allocations: 322.8 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1336, allocations: 35.91 kB / 0.4925 GB, free: 6.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.1338, allocations: 49.75 kB / 0.4925 GB, free: 6.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.134, allocations: 68.89 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.134, allocations: 4.031 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002822/0.1343, allocations: 113.6 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1343, allocations: 7.938 kB / 0.4927 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1343, allocations: 4 kB / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1343, allocations: 0 / 0.4927 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.1345, allocations: 15.98 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.1345, allocations: 7.938 kB / 0.4927 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.1346, allocations: 11.98 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1346, allocations: 4 kB / 0.4927 GB, free: 6.566 MB / 382.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.0001146/0.1347, allocations: 121.8 kB / 0.4928 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.1347, allocations: 7.953 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.1351, allocations: 122.6 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.1351, allocations: 4 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1351, allocations: 7.875 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1351, allocations: 3.984 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005724/0.1357, allocations: 386.5 kB / 0.4933 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1357, allocations: 0 / 0.4933 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/0.1358, allocations: 19.98 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.466e-05/0.1358, allocations: 11.86 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1359, allocations: 12 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1359, allocations: 0 / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1359, allocations: 0 / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.1362, allocations: 199.5 kB / 0.4936 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.1363, allocations: 85.06 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1363, allocations: 7.938 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.1364, allocations: 15.98 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.1365, allocations: 3.984 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.1365, allocations: 4 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.027e-05/0.1366, allocations: 111 kB / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1366, allocations: 0 / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1368, allocations: 27.94 kB / 0.4938 GB, free: 5.332 MB / 382.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.00214/0.139, allocations: 1.085 MB / 0.4949 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.1393, allocations: 79.94 kB / 0.495 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1393, allocations: 0 / 0.495 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.1395, allocations: 47.91 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1398, allocations: 19.89 kB / 0.495 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.1419, allocations: 1.523 MB / 0.4965 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1422, allocations: 0.6885 MB / 0.4972 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.341e-05/0.1423, allocations: 25.05 kB / 0.4972 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.139e-05/0.1424, allocations: 27.42 kB / 0.4972 GB, free: 1.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1424, allocations: 0 / 0.4972 GB, free: 1.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.1695, allocations: 3.032 MB / 0.5002 GB, free: 14.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.048, allocations: 15.95 kB / 0.5002 GB, free: 14.64 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches