Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001834/0.001834, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2171/0.2171, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 77.28 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1073, allocations: 62.44 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004122/0.1114, allocations: 2.046 MB / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1135, allocations: 1.13 MB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.1137, allocations: 0 / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004459/0.1142, allocations: 267.1 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006293/0.1148, allocations: 263.1 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.1164, allocations: 0.6478 MB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.1169, allocations: 351.1 kB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1171, allocations: 76.98 kB / 484.9 MB, free: 420 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.1173, allocations: 143.4 kB / 485 MB, free: 276 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.1176, allocations: 211.2 kB / 485.2 MB, free: 64 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.1176, allocations: 12 kB / 485.2 MB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.1178, allocations: 103.9 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.118, allocations: 99.67 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1181, allocations: 134.9 kB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1186, allocations: 362.7 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1186, allocations: 0 / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.1186, allocations: 0 / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1186, allocations: 3.938 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008233/0.1194, allocations: 0.6844 MB / 486.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1195, allocations: 12.03 kB / 486.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/0.1195, allocations: 46.73 kB / 486.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.672e-05/0.1196, allocations: 48.38 kB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.12, allocations: 345.9 kB / 487.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.12, allocations: 16.36 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.1201, allocations: 8.375 kB / 487.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.1203, allocations: 125.5 kB / 487.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1204, allocations: 7.984 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1204, allocations: 0 / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1204, allocations: 4 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.1206, allocations: 99.86 kB / 487.3 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.1214, allocations: 0.5198 MB / 487.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1216, allocations: 106.5 kB / 487.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.637e-05/0.1217, allocations: 44.83 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.1217, allocations: 4 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1217, allocations: 38.5 kB / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.1217, allocations: 0 / 488 MB, free: 13.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001095/0.1228, allocations: 452.1 kB / 488.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.1229, allocations: 59.41 kB / 488.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006289/0.1235, allocations: 0.5918 MB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1236, allocations: 33.7 kB / 489.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.1237, allocations: 220.3 kB / 489.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.1238, allocations: 51.2 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.1238, allocations: 33.7 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.124, allocations: 366.7 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.1241, allocations: 63.95 kB / 489.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001225/0.1243, allocations: 62.16 kB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.1246, allocations: 174.6 kB / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1246, allocations: 0 / 490.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004064/0.125, allocations: 229 kB / 490.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.125, allocations: 8 kB / 490.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.125, allocations: 0 / 490.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.1251, allocations: 0 / 490.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.1252, allocations: 35.92 kB / 490.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1252, allocations: 3.984 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.271e-05/0.1253, allocations: 15.98 kB / 490.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.1253, allocations: 4 kB / 490.4 MB, free: 10.66 MB / 366.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 (17): * Single equations (assignments): 17 * 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.0001834/0.1255, allocations: 181.7 kB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.1256, allocations: 43.44 kB / 490.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.1262, allocations: 288 kB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1262, allocations: 11.94 kB / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1262, allocations: 0 / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1262, allocations: 0 / 490.9 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009265/0.1272, allocations: 0.6972 MB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1272, allocations: 0 / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1273, allocations: 35.97 kB / 491.6 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1273, allocations: 4 kB / 491.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1273, allocations: 0 / 491.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1273, allocations: 3.938 kB / 491.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1273, allocations: 0 / 491.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.1278, allocations: 340.8 kB / 492 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.1278, allocations: 116.6 kB / 492.1 MB, free: 8.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.1279, allocations: 8 kB / 492.1 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.128, allocations: 11.94 kB / 492.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.128, allocations: 11.98 kB / 492.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.1281, allocations: 7.984 kB / 492.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004424/0.1285, allocations: 450.8 kB / 492.6 MB, free: 8.379 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1285, allocations: 0 / 492.6 MB, free: 8.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003244/0.1288, allocations: 55.89 kB / 492.6 MB, free: 8.324 MB / 366.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 (17): * Single equations (assignments): 17 * 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.002229/0.1311, allocations: 1.457 MB / 494.1 MB, free: 7.121 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.1315, allocations: 182.4 kB / 494.3 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1315, allocations: 0 / 494.3 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1316, allocations: 99.88 kB / 494.4 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.1322, allocations: 79.31 kB / 494.4 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.1361, allocations: 3.374 MB / 497.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.1366, allocations: 0.8299 MB / 498.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.1367, allocations: 62.23 kB / 498.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.1369, allocations: 135.4 kB / 498.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of SimCode: time 2.094e-06/0.1369, allocations: 0 / 498.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.1641, allocations: 7.721 MB / 0.4947 GB, free: 10.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.164, allocations: 14.17 kB / 0.4947 GB, free: 10.61 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches