Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001591/0.001592, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.262/0.262, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 75.88 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1229, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003689/0.1267, allocations: 1.6 MB / 481.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001167/0.1279, allocations: 0.5416 MB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.016e-05/0.128, allocations: 0 / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.1283, allocations: 19.8 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.1287, allocations: 83.61 kB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.1291, allocations: 107.7 kB / 482.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.1292, allocations: 63.84 kB / 482.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.1294, allocations: 15.98 kB / 482.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.847e-05/0.1294, allocations: 23.86 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.1295, allocations: 19.86 kB / 482.6 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1295, allocations: 8 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-05/0.1296, allocations: 31.98 kB / 482.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.1297, allocations: 11.94 kB / 482.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.1298, allocations: 27.78 kB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.13, allocations: 80.08 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.13, allocations: 0 / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.13, allocations: 4 kB / 482.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.13, allocations: 0 / 482.8 MB, free: 2.531 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005248/0.1305, allocations: 383.1 kB / 483.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1306, allocations: 8.031 kB / 483.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.1306, allocations: 34.75 kB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.1307, allocations: 8.844 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.1309, allocations: 196.2 kB / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.1309, allocations: 384 / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1309, allocations: 384 / 483.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.131, allocations: 61.55 kB / 483.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1311, allocations: 0 / 483.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1311, allocations: 0 / 483.4 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1311, allocations: 4 kB / 483.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.1312, allocations: 23.98 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.1316, allocations: 280.9 kB / 483.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1318, allocations: 46.5 kB / 483.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.1318, allocations: 20.92 kB / 483.8 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1319, allocations: 4 kB / 483.8 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.1319, allocations: 34.56 kB / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1319, allocations: 0 / 483.8 MB, free: 1.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005739/0.1325, allocations: 157.2 kB / 484 MB, free: 1.117 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.1325, allocations: 51.41 kB / 484 MB, free: 1.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1327, allocations: 157.1 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1327, allocations: 25.7 kB / 484.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.1327, allocations: 96.12 kB / 484.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.1328, allocations: 15.75 kB / 484.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.1328, allocations: 21.7 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1329, allocations: 318.8 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.831e-05/0.133, allocations: 23.97 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.429e-05/0.1331, allocations: 19.98 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1332, allocations: 56.77 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1332, allocations: 7.938 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001899/0.1334, allocations: 85.56 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.1335, allocations: 4 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1335, allocations: 0 / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1335, allocations: 0 / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.44e-05/0.1336, allocations: 15.98 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1336, allocations: 4 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.1336, allocations: 7.938 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.1336, allocations: 3.938 kB / 484.9 MB, free: 172 kB / 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 (5): * Single equations (assignments): 5 * 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 8.436e-05/0.1337, allocations: 113.8 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.1338, allocations: 19.83 kB / 485 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.134, allocations: 93.97 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1341, allocations: 4 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1341, allocations: 0 / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.1341, allocations: 4 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.1345, allocations: 358.7 kB / 485.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.1345, allocations: 4.062 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.1346, allocations: 11.98 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1346, allocations: 0 / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1346, allocations: 4 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1346, allocations: 7.938 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1346, allocations: 0 / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1348, allocations: 179.4 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.1349, allocations: 81.09 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.1349, allocations: 4 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.135, allocations: 7.938 kB / 485.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.135, allocations: 11.94 kB / 485.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.135, allocations: 3.984 kB / 485.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.149e-05/0.1351, allocations: 115.3 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1351, allocations: 0 / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1354, allocations: 23.89 kB / 485.9 MB, free: 15.04 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 (5): * Single equations (assignments): 5 * 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.00132/0.1367, allocations: 1.008 MB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.1369, allocations: 63.89 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1369, allocations: 0 / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.137, allocations: 27.98 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.1374, allocations: 15.92 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.1389, allocations: 1.457 MB / 488.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1392, allocations: 0.6924 MB / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.1393, allocations: 24.05 kB / 489.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.1393, allocations: 23.44 kB / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1393, allocations: 0 / 489.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.1577, allocations: 2.484 MB / 491.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.633, allocations: 15.27 kB / 491.7 MB, free: 9.297 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches