Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 103.6 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.001163/0.001163, allocations: 214.4 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.46/1.46, 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.2179/0.2179, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 80 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1236, allocations: 62.43 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003255/0.1269, allocations: 1.623 MB / 481.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.1279, allocations: 0.5377 MB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.057e-05/0.128, allocations: 0 / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1283, allocations: 107.7 kB / 482.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.1287, allocations: 119.6 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.129, allocations: 91.69 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.1292, allocations: 91.8 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1293, allocations: 16 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.097e-05/0.1294, allocations: 43.83 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1296, allocations: 67.8 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1296, allocations: 8 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1297, allocations: 39.98 kB / 482.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.209e-05/0.1298, allocations: 27.86 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.1298, allocations: 31.69 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1301, allocations: 119.9 kB / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1301, allocations: 0 / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1301, allocations: 0 / 483 MB, free: 2.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1301, allocations: 0 / 483 MB, free: 2.262 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.0005049/0.1306, allocations: 434.8 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1307, allocations: 12.03 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1307, allocations: 30.75 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.1307, allocations: 12.84 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1309, allocations: 205.6 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.131, allocations: 4.375 kB / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.131, allocations: 8.312 kB / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1312, allocations: 57.59 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1312, allocations: 0 / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1312, allocations: 4 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1312, allocations: 4 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1313, allocations: 31.91 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.1318, allocations: 296.7 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.1319, allocations: 46.5 kB / 484.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.1319, allocations: 24.92 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.132, allocations: 4 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.132, allocations: 30.56 kB / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.132, allocations: 0 / 484.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009189/0.1329, allocations: 233 kB / 484.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.133, allocations: 51.41 kB / 484.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.1332, allocations: 258.1 kB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1333, allocations: 33.64 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.1333, allocations: 108.1 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1334, allocations: 35.62 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.1334, allocations: 25.64 kB / 484.9 MB, free: 136 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1336, allocations: 326.8 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.1337, allocations: 27.98 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.888e-05/0.1337, allocations: 19.98 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.1339, allocations: 68.83 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1339, allocations: 0 / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002168/0.1341, allocations: 101.5 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1341, allocations: 4 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1342, allocations: 4 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1342, allocations: 0 / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1343, allocations: 23.92 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1343, allocations: 3.938 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.1344, allocations: 8 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1344, allocations: 0 / 485.5 MB, free: 15.54 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 (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 0.0001102/0.1345, allocations: 133.8 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.951e-05/0.1345, allocations: 11.81 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1348, allocations: 127 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1348, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1348, allocations: 7.875 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1349, allocations: 3.984 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.1354, allocations: 411.7 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1354, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.1355, allocations: 23.92 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1355, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1355, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1355, allocations: 4 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1355, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1358, allocations: 216.2 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.1358, allocations: 88.95 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1359, allocations: 0 / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.849e-05/0.136, allocations: 7.984 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.136, allocations: 4 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.136, allocations: 8 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.1362, allocations: 188.4 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1362, allocations: 0 / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1364, allocations: 23.98 kB / 486.7 MB, free: 14.2 MB / 366.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.001471/0.1379, allocations: 1.098 MB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.1381, allocations: 63.97 kB / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1382, allocations: 0 / 487.9 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.084e-05/0.1383, allocations: 43.95 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1386, allocations: 23.36 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.1407, allocations: 1.73 MB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.141, allocations: 0.7195 MB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.141, allocations: 16.97 kB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.1411, allocations: 31.42 kB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1411, allocations: 0 / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.165, allocations: 3.183 MB / 493.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.539/7.704, allocations: 4.828 kB / 493.7 MB, free: 7.371 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! " Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:time,der(der(clock.y)),der(clock.y),der(d2_t_new.u),der(d_t_new.u),clock.y