Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001098/0.001098, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.00118/0.00118, allocations: 192 kB / 18.55 MB, free: 4.566 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.414/1.414, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2164/0.2164, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.12 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.121, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003049/0.1241, allocations: 1.576 MB / 470.9 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007352/0.1249, allocations: 411.3 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.995e-05/0.125, allocations: 3.938 kB / 471.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.1252, allocations: 123.7 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.1255, allocations: 87.77 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.1257, allocations: 115.5 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1259, allocations: 83.81 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.126, allocations: 20.16 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.085e-05/0.1261, allocations: 47.83 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1262, allocations: 75.86 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1262, allocations: 4 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1264, allocations: 55.84 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.1264, allocations: 23.92 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.1265, allocations: 35.67 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1266, allocations: 111.9 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1267, allocations: 4 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.1267, allocations: 7.984 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.1267, allocations: 3.938 kB / 472.1 MB, free: 11.49 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.0004718/0.1272, allocations: 418.9 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1272, allocations: 8.031 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.1272, allocations: 38.73 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.1273, allocations: 8.844 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1275, allocations: 211.8 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1275, allocations: 4.375 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1275, allocations: 8.125 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.1277, allocations: 49.69 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1277, allocations: 4 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1277, allocations: 4 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1277, allocations: 0 / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.709e-05/0.1278, allocations: 27.97 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.1282, allocations: 320.6 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.669e-05/0.1283, allocations: 42.56 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.1284, allocations: 20.94 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1284, allocations: 0 / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1284, allocations: 38.56 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1284, allocations: 0 / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000854/0.1293, allocations: 244.9 kB / 473.5 MB, free: 9.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.1293, allocations: 55.34 kB / 473.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002288/0.1296, allocations: 274.2 kB / 473.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1296, allocations: 29.7 kB / 473.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.1297, allocations: 112 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.1297, allocations: 19.66 kB / 474 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.1298, allocations: 29.7 kB / 474.1 MB, free: 9.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1299, allocations: 326.8 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.064e-05/0.13, allocations: 27.98 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.1301, allocations: 27.97 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.1302, allocations: 80.88 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1302, allocations: 0 / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002112/0.1305, allocations: 125.3 kB / 474.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1305, allocations: 4 kB / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1305, allocations: 0 / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1305, allocations: 432 / 474.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.1306, allocations: 19.98 kB / 474.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1306, allocations: 3.938 kB / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.1307, allocations: 4 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1307, allocations: 0 / 474.7 MB, free: 8.723 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 (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 9.734e-05/0.1308, allocations: 137.8 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.1308, allocations: 15.81 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002765/0.1311, allocations: 139 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1311, allocations: 0 / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1311, allocations: 3.938 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1311, allocations: 4 kB / 475 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.1317, allocations: 435.5 kB / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.1317, allocations: 3.938 kB / 475.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/0.1317, allocations: 15.98 kB / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1317, allocations: 0 / 475.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1318, allocations: 4 kB / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1318, allocations: 0 / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1318, allocations: 0 / 475.4 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.1321, allocations: 224.3 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.1321, allocations: 92.86 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.1322, allocations: 8 kB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.1322, allocations: 11.98 kB / 475.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.1323, allocations: 3.938 kB / 475.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1323, allocations: 4 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1325, allocations: 207.2 kB / 475.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1325, allocations: 0 / 475.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1327, allocations: 24 kB / 476 MB, free: 7.309 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001478/0.1342, allocations: 1.095 MB / 477.1 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.1345, allocations: 75.89 kB / 477.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1345, allocations: 4 kB / 477.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.552e-05/0.1346, allocations: 39.97 kB / 477.2 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.135, allocations: 23.92 kB / 477.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.1369, allocations: 1.815 MB / 479 MB, free: 4.324 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.1372, allocations: 0.7236 MB / 479.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.989e-05/0.1373, allocations: 16.95 kB / 479.8 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.1374, allocations: 43.42 kB / 479.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1374, allocations: 0 / 479.8 MB, free: 3.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.1573, allocations: 3.271 MB / 483.1 MB, free: 324 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.649, allocations: 14 kB / 483.1 MB, free: 312 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches