Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 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.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.001578/0.001578, allocations: 102.5 kB / 16.27 MB, free: 5.969 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.001762/0.001762, allocations: 192 kB / 17.2 MB, free: 5.602 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.45/1.45, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2334/0.2334, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 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.001486/0.001486, allocations: 67.44 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 57.79 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003256/0.1289, allocations: 1.644 MB / 442.3 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005827/0.1295, allocations: 355.4 kB / 442.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.1296, allocations: 0 / 442.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.1298, allocations: 27.86 kB / 442.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.13, allocations: 39.72 kB / 442.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.1303, allocations: 119.4 kB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1304, allocations: 83.7 kB / 442.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1306, allocations: 20.16 kB / 442.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.349e-05/0.1306, allocations: 35.86 kB / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.1307, allocations: 35.83 kB / 443 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1307, allocations: 8 kB / 443 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1308, allocations: 51.97 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.1309, allocations: 19.92 kB / 443 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.131, allocations: 39.73 kB / 443.1 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1312, allocations: 115.7 kB / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1312, allocations: 0 / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1312, allocations: 0 / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1312, allocations: 0 / 443.2 MB, free: 4.23 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005997/0.1318, allocations: 427 kB / 443.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1318, allocations: 11.89 kB / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.1319, allocations: 38.75 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.1319, allocations: 8.844 kB / 443.7 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.1321, allocations: 193.4 kB / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.1321, allocations: 384 / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.1322, allocations: 12.31 kB / 443.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.1324, allocations: 99.28 kB / 444 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1325, allocations: 3.938 kB / 444 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1325, allocations: 4 kB / 444 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.1325, allocations: 4 kB / 444 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.1328, allocations: 63.92 kB / 444 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.1331, allocations: 324.7 kB / 444.4 MB, free: 2.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1333, allocations: 62.53 kB / 444.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.1335, allocations: 52.89 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.1335, allocations: 0 / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.1335, allocations: 30.56 kB / 444.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.1335, allocations: 0 / 444.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.001491/0.135, allocations: 368.9 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1351, allocations: 81.11 kB / 444.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1352, allocations: 148.9 kB / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.1352, allocations: 33.69 kB / 445.1 MB, free: 2.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.1353, allocations: 96.09 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.1353, allocations: 31.55 kB / 445.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.1353, allocations: 17.72 kB / 445.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.1354, allocations: 322.8 kB / 445.6 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.1357, allocations: 75.92 kB / 445.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.1359, allocations: 81.64 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004816/0.1364, allocations: 136.8 kB / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1364, allocations: 0 / 445.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005307/0.1369, allocations: 185.5 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.137, allocations: 4 kB / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.137, allocations: 0 / 446.1 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.137, allocations: 3.984 kB / 446.1 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.1372, allocations: 39.91 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1372, allocations: 0 / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.1373, allocations: 31.89 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1374, allocations: 3.984 kB / 446.1 MB, free: 1.047 MB / 318.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 (8): * Single equations (assignments): 8 * 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 7.275e-05/0.1374, allocations: 125.8 kB / 446.3 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.1375, allocations: 7.906 kB / 446.3 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006052/0.1381, allocations: 198.5 kB / 446.5 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1381, allocations: 4 kB / 446.5 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1381, allocations: 3.938 kB / 446.5 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1381, allocations: 3.938 kB / 446.5 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007351/0.1389, allocations: 478.4 kB / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1389, allocations: 0 / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.1391, allocations: 39.95 kB / 447 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1391, allocations: 0 / 447 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1391, allocations: 8.25 kB / 447 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1391, allocations: 0 / 447 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1391, allocations: 11.88 kB / 447 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.1397, allocations: 279.3 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.1398, allocations: 93 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.1398, allocations: 3.938 kB / 447.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.14, allocations: 23.97 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.574e-05/0.1401, allocations: 11.98 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1401, allocations: 4 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.87e-05/0.1402, allocations: 115.2 kB / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1402, allocations: 0 / 447.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1405, allocations: 35.91 kB / 447.5 MB, free: 15.52 MB / 334.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 (8): * Single equations (assignments): 8 * 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.001843/0.1423, allocations: 1.15 MB / 448.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006377/0.143, allocations: 155.8 kB / 448.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.143, allocations: 0 / 448.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002911/0.1433, allocations: 79.92 kB / 448.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1437, allocations: 22 kB / 448.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.1465, allocations: 1.773 MB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1468, allocations: 0.7 MB / 451.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.081e-05/0.1469, allocations: 16.42 kB / 451.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.147, allocations: 31.42 kB / 451.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.147, allocations: 0 / 451.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.1683, allocations: 3.57 MB / 455 MB, free: 7.949 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.713, allocations: 0.875 kB / 455 MB, free: 7.949 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches