Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001179/0.001179, allocations: 115.7 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00132/0.00132, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.286/1.286, allocations: 227.4 MB / 246.4 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2478/0.2478, allocations: 46.1 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.11 kB / 417.1 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1262, allocations: 62.45 MB / 479.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003045/0.1293, allocations: 1.68 MB / 481.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009552/0.1303, allocations: 0.53 MB / 481.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.1303, allocations: 4 kB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1306, allocations: 99.78 kB / 481.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.1309, allocations: 115.7 kB / 482 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1312, allocations: 103.1 kB / 482.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1313, allocations: 91.81 kB / 482.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1315, allocations: 15.98 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.1315, allocations: 43.84 kB / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1316, allocations: 63.81 kB / 482.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.1317, allocations: 4 kB / 482.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-05/0.1317, allocations: 47.97 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.1318, allocations: 23.86 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.24e-05/0.1319, allocations: 39.67 kB / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.132, allocations: 119.9 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.132, allocations: 0 / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1321, allocations: 0 / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1321, allocations: 0 / 482.6 MB, free: 2.496 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.0004728/0.1325, allocations: 430.8 kB / 483 MB, free: 2.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1326, allocations: 12.03 kB / 483 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.1326, allocations: 30.75 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.1327, allocations: 12.84 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.1329, allocations: 209.6 kB / 483.2 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1329, allocations: 4.312 kB / 483.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.1329, allocations: 8.375 kB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.1331, allocations: 57.59 kB / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1331, allocations: 0 / 483.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1331, allocations: 8 kB / 483.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1331, allocations: 4 kB / 483.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.706e-05/0.1332, allocations: 27.92 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.1336, allocations: 312.6 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.1337, allocations: 46.55 kB / 483.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.824e-05/0.1338, allocations: 20.86 kB / 483.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1338, allocations: 8.016 kB / 483.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1338, allocations: 30.56 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1338, allocations: 0 / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008815/0.1347, allocations: 249.2 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1348, allocations: 51.41 kB / 484.1 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.135, allocations: 262 kB / 484.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.135, allocations: 25.7 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.1351, allocations: 112.1 kB / 484.4 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.1351, allocations: 27.55 kB / 484.5 MB, free: 384 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.1352, allocations: 25.72 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.1353, allocations: 326.8 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.784e-05/0.1354, allocations: 35.97 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.49e-05/0.1355, allocations: 40.03 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1356, allocations: 64.83 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1356, allocations: 0 / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002177/0.1359, allocations: 117.5 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1359, allocations: 6.656 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1359, allocations: 0 / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1359, allocations: 7.922 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.136, allocations: 16 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.136, allocations: 3.938 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.1361, allocations: 7.984 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1361, allocations: 0 / 485.1 MB, free: 15.71 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 9.62e-05/0.1362, allocations: 137.8 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.1362, allocations: 15.81 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.1365, allocations: 139.3 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1365, allocations: 0 / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1365, allocations: 7.875 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1366, allocations: 0 / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.1371, allocations: 427.3 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1371, allocations: 0 / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.1371, allocations: 23.92 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1372, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1372, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1372, allocations: 4 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1372, allocations: 0 / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.1374, allocations: 224.1 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.309e-05/0.1375, allocations: 88.95 kB / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1375, allocations: 0 / 486.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.1376, allocations: 11.98 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1376, allocations: 4 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1376, allocations: 4 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.1378, allocations: 196.3 kB / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1378, allocations: 0 / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.138, allocations: 19.98 kB / 486.4 MB, free: 14.33 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.001365/0.1394, allocations: 1.093 MB / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1397, allocations: 79.94 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1397, allocations: 3.938 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.197e-05/0.1398, allocations: 43.92 kB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1401, allocations: 26.95 kB / 487.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.142, allocations: 1.808 MB / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.1423, allocations: 0.7214 MB / 490.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.858e-05/0.1423, allocations: 20.66 kB / 490.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.1424, allocations: 35.42 kB / 490.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1424, allocations: 0 / 490.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1471/0.2895, allocations: 3.132 MB / 493.3 MB, free: 7.484 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003246/0.2899, allocations: 248.6 kB / 493.6 MB, free: 7.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.225, allocations: 0 / 493.6 MB, free: 7.215 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time