Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001566/0.001566, allocations: 106.8 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002022/0.002022, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.3 MB, free: 9.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2139/0.2139, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 74.66 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1261, allocations: 62.44 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003231/0.1294, allocations: 1.669 MB / 481.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.1304, allocations: 0.5455 MB / 481.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.223e-05/0.1305, allocations: 4 kB / 481.6 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.1309, allocations: 103.8 kB / 481.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.1312, allocations: 103.8 kB / 481.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1315, allocations: 75.84 kB / 481.9 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1317, allocations: 91.75 kB / 482 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1318, allocations: 15.98 kB / 482 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.206e-05/0.1319, allocations: 35.84 kB / 482 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.132, allocations: 63.81 kB / 482.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.132, allocations: 0 / 482.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1322, allocations: 43.98 kB / 482.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.1322, allocations: 39.77 kB / 482.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.1323, allocations: 31.75 kB / 482.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1325, allocations: 111.9 kB / 482.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1325, allocations: 0 / 482.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1325, allocations: 0 / 482.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1325, allocations: 0 / 482.3 MB, free: 2.66 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.0005078/0.133, allocations: 430.8 kB / 482.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1331, allocations: 12.88 kB / 482.7 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.1331, allocations: 34.75 kB / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.1332, allocations: 12.78 kB / 482.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1334, allocations: 216.8 kB / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-06/0.1334, allocations: 384 / 483 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.1334, allocations: 4.375 kB / 483 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1336, allocations: 57.61 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1336, allocations: 0 / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.1336, allocations: 0 / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1336, allocations: 0 / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.1337, allocations: 27.92 kB / 483.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.1341, allocations: 304.7 kB / 483.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1342, allocations: 42.56 kB / 483.4 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1343, allocations: 20.88 kB / 483.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1343, allocations: 80 / 483.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1343, allocations: 42.55 kB / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1344, allocations: 4 kB / 483.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008939/0.1353, allocations: 221 kB / 483.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.1353, allocations: 55.41 kB / 483.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.1356, allocations: 259 kB / 484 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1356, allocations: 33.7 kB / 484 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.1357, allocations: 108.1 kB / 484.1 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.1357, allocations: 27.56 kB / 484.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.026e-05/0.1358, allocations: 25.7 kB / 484.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1359, allocations: 326.8 kB / 484.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.136, allocations: 23.98 kB / 484.5 MB, free: 196 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.1361, allocations: 23.98 kB / 484.6 MB, free: 172 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1363, allocations: 72.98 kB / 484.6 MB, free: 96 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1363, allocations: 0 / 484.6 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000261/0.1365, allocations: 105.5 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1366, allocations: 8 kB / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1366, allocations: 0 / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1366, allocations: 0 / 484.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1367, allocations: 19.92 kB / 484.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.1367, allocations: 11.94 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.336e-05/0.1368, allocations: 3.938 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.1368, allocations: 4 kB / 484.8 MB, free: 15.94 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.0001078/0.1369, allocations: 133.8 kB / 484.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.137, allocations: 15.81 kB / 484.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.1372, allocations: 115 kB / 485 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1373, allocations: 8 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1373, allocations: 3.938 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1373, allocations: 4 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.1378, allocations: 411.3 kB / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1378, allocations: 0 / 485.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.1379, allocations: 19.92 kB / 485.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.1379, allocations: 11.97 kB / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1379, allocations: 0 / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1379, allocations: 0 / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1379, allocations: 0 / 485.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1382, allocations: 204.2 kB / 485.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.1383, allocations: 84.95 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1383, allocations: 12 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1384, allocations: 7.984 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.1384, allocations: 0 / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1384, allocations: 4 kB / 485.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1386, allocations: 188.4 kB / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1386, allocations: 0 / 486 MB, free: 14.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003843/0.139, allocations: 27.98 kB / 486 MB, free: 14.6 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.001492/0.1405, allocations: 1.101 MB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1407, allocations: 59.91 kB / 487.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1407, allocations: 4 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.1408, allocations: 35.97 kB / 487.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.1412, allocations: 13.56 kB / 487.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1433, allocations: 1.767 MB / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1436, allocations: 0.7179 MB / 489.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.788e-05/0.1436, allocations: 16.95 kB / 489.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.1437, allocations: 35.42 kB / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1437, allocations: 0 / 489.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.1574, allocations: 3.035 MB / 492.8 MB, free: 7.93 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/0.1576, allocations: 236.6 kB / 493 MB, free: 7.672 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.074, allocations: 0 / 493 MB, free: 7.672 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time