Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.001253/0.001253, allocations: 107.3 kB / 17.2 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 213.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.503/1.503, allocations: 227.4 MB / 246.3 MB, free: 9.023 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 73.19 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1345, allocations: 62.45 MB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.004652/0.1392, allocations: 1.676 MB / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1405, allocations: 0.5456 MB / 481.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.495e-05/0.1406, allocations: 7.938 kB / 481.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.1409, allocations: 99.8 kB / 481.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.1413, allocations: 103.8 kB / 481.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.1417, allocations: 99.81 kB / 481.9 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.142, allocations: 87.75 kB / 482 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.1421, allocations: 19.98 kB / 482 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.1422, allocations: 35.83 kB / 482.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1424, allocations: 63.81 kB / 482.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1424, allocations: 4 kB / 482.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.1426, allocations: 43.98 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.1427, allocations: 27.86 kB / 482.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.1427, allocations: 39.72 kB / 482.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.143, allocations: 111.9 kB / 482.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.143, allocations: 0 / 482.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.143, allocations: 0 / 482.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.143, allocations: 0 / 482.3 MB, free: 2.617 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.0006172/0.1436, allocations: 430.8 kB / 482.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/0.1437, allocations: 8.875 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.1438, allocations: 42.69 kB / 482.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.1438, allocations: 12.84 kB / 482.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.1441, allocations: 208.8 kB / 483 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1442, allocations: 384 / 483 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1442, allocations: 384 / 483 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1444, allocations: 65.59 kB / 483.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1444, allocations: 3.984 kB / 483.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1444, allocations: 0 / 483.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1445, allocations: 0 / 483.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.1446, allocations: 35.91 kB / 483.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.1451, allocations: 308.7 kB / 483.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1453, allocations: 42.56 kB / 483.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.989e-05/0.1453, allocations: 28.88 kB / 483.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.1454, allocations: 0 / 483.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.1454, allocations: 38.56 kB / 483.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1454, allocations: 0 / 483.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001109/0.1465, allocations: 237 kB / 483.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.1466, allocations: 59.39 kB / 483.8 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.1469, allocations: 255 kB / 484.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.147, allocations: 33.7 kB / 484.1 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.147, allocations: 104.1 kB / 484.2 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.1471, allocations: 31.55 kB / 484.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.1472, allocations: 21.72 kB / 484.3 MB, free: 484 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1473, allocations: 330.8 kB / 484.6 MB, free: 144 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.684e-05/0.1474, allocations: 31.92 kB / 484.6 MB, free: 112 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.617e-05/0.1475, allocations: 36.03 kB / 484.7 MB, free: 76 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.1477, allocations: 72.77 kB / 484.7 MB, free: 0 / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1477, allocations: 0 / 484.7 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000243/0.1479, allocations: 117.5 kB / 484.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.148, allocations: 7.984 kB / 484.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.148, allocations: 0 / 484.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.148, allocations: 3.938 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1481, allocations: 20 kB / 484.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1481, allocations: 7.922 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.1482, allocations: 4 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1482, allocations: 0 / 484.9 MB, free: 15.84 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.0001312/0.1483, allocations: 137.8 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.1484, allocations: 11.81 kB / 485 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.1487, allocations: 143 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1487, allocations: 4 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1487, allocations: 3.938 kB / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1488, allocations: 0 / 485.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005574/0.1493, allocations: 419.3 kB / 485.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1493, allocations: 0 / 485.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.781e-05/0.1494, allocations: 31.89 kB / 485.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1494, allocations: 4 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1494, allocations: 0 / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1495, allocations: 0 / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.1495, allocations: 3.984 kB / 485.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003102/0.1498, allocations: 217 kB / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.1499, allocations: 92.95 kB / 485.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1499, allocations: 0 / 485.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.683e-05/0.15, allocations: 7.984 kB / 485.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.15, allocations: 11.98 kB / 485.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.15, allocations: 0 / 485.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001935/0.1502, allocations: 188.4 kB / 486.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1502, allocations: 0 / 486.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1505, allocations: 23.98 kB / 486.2 MB, free: 14.45 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.001689/0.1522, allocations: 1.097 MB / 487.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.1525, allocations: 83.86 kB / 487.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1525, allocations: 0 / 487.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1526, allocations: 35.98 kB / 487.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.1531, allocations: 15.98 kB / 487.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.1552, allocations: 1.821 MB / 489.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.1556, allocations: 0.714 MB / 489.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.85e-05/0.1556, allocations: 20.95 kB / 489.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.8e-05/0.1557, allocations: 39.42 kB / 490 MB, free: 10.66 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1557, allocations: 4 kB / 490 MB, free: 10.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.1694, allocations: 3.07 MB / 493.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.1696, allocations: 245.6 kB / 493.3 MB, free: 7.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.087, allocations: 0 / 493.3 MB, free: 7.398 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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