Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.001254/0.001254, allocations: 103.7 kB / 17.63 MB, free: 5.344 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.001315/0.001316, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1925/0.1925, allocations: 44.18 MB / 336.6 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.86 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1189, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003172/0.1222, allocations: 1.656 MB / 471 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008132/0.123, allocations: 467.1 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.1231, allocations: 3.938 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.1233, allocations: 31.83 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.1235, allocations: 39.78 kB / 471.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.124, allocations: 182.5 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1242, allocations: 91.64 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1243, allocations: 24.2 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.1244, allocations: 39.84 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.1244, allocations: 35.84 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1245, allocations: 4 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1246, allocations: 59.97 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.1247, allocations: 23.91 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.1248, allocations: 27.81 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.125, allocations: 131.8 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.125, allocations: 0 / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.125, allocations: 0 / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.125, allocations: 0 / 472.2 MB, free: 11.44 MB / 350.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.0006512/0.1257, allocations: 423.1 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.1257, allocations: 8.031 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.1258, allocations: 34.73 kB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.1258, allocations: 16.75 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1261, allocations: 196.8 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1261, allocations: 8.125 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1261, allocations: 4 kB / 472.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.1264, allocations: 99.28 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1264, allocations: 0 / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1265, allocations: 4 kB / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1265, allocations: 0 / 472.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.1268, allocations: 75.91 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005772/0.1274, allocations: 340.6 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.1276, allocations: 86.45 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.1278, allocations: 48.94 kB / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.1279, allocations: 0 / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1279, allocations: 30.56 kB / 473.5 MB, free: 9.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.432e-06/0.1279, allocations: 4 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001676/0.1296, allocations: 404.9 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.1297, allocations: 88.98 kB / 474 MB, free: 9.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.1298, allocations: 152.1 kB / 474.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1299, allocations: 29.7 kB / 474.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.018e-05/0.1299, allocations: 96.12 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.13, allocations: 27.56 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/0.13, allocations: 33.7 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1302, allocations: 322.8 kB / 474.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.1305, allocations: 72.02 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.1308, allocations: 105.6 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006225/0.1315, allocations: 168.6 kB / 475 MB, free: 8.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1315, allocations: 4.031 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006411/0.1321, allocations: 201.4 kB / 475.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1321, allocations: 7.938 kB / 475.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1322, allocations: 4.312 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1322, allocations: 7.938 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.1324, allocations: 43.95 kB / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1324, allocations: 0 / 475.2 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1326, allocations: 23.97 kB / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1326, allocations: 4 kB / 475.3 MB, free: 8.078 MB / 350.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 (10): * Single equations (assignments): 10 * 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.0001284/0.1327, allocations: 129.8 kB / 475.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.1328, allocations: 15.84 kB / 475.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007306/0.1335, allocations: 222.1 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1335, allocations: 384 / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1335, allocations: 8 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1336, allocations: 0 / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009786/0.1345, allocations: 0.5138 MB / 476.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.1346, allocations: 0 / 476.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1347, allocations: 35.95 kB / 476.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1348, allocations: 4 kB / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1348, allocations: 0 / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1348, allocations: 0 / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1348, allocations: 0 / 476.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006937/0.1355, allocations: 311.2 kB / 476.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.1355, allocations: 84.92 kB / 476.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.1356, allocations: 4 kB / 476.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.1358, allocations: 31.95 kB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.1358, allocations: 11.98 kB / 476.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1359, allocations: 7.984 kB / 476.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.136, allocations: 117.1 kB / 476.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.136, allocations: 0 / 476.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002961/0.1363, allocations: 35.94 kB / 476.8 MB, free: 6.461 MB / 350.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 (9): * Single equations (assignments): 9 * 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.001858/0.1382, allocations: 1.174 MB / 477.9 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006727/0.1388, allocations: 183.8 kB / 478.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.1389, allocations: 0 / 478.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.1392, allocations: 87.86 kB / 478.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.1395, allocations: 23.98 kB / 478.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.1429, allocations: 1.887 MB / 480.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.1433, allocations: 0.708 MB / 480.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.1435, allocations: 32.52 kB / 480.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.1436, allocations: 31.42 kB / 480.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1436, allocations: 4 kB / 480.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.1649, allocations: 3.834 MB / 484.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/7.898, allocations: 3.438 kB / 484.7 MB, free: 14.64 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches