Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 108.5 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.001617/0.001617, 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.365/1.365, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2561/0.2561, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 81.14 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1821, allocations: 62.44 MB / 479.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.005157/0.1874, allocations: 1.804 MB / 481.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.1898, allocations: 1.029 MB / 482.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.114e-05/0.1899, allocations: 4 kB / 482.2 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003775/0.1903, allocations: 103.7 kB / 482.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.1906, allocations: 103.7 kB / 482.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.1908, allocations: 67.86 kB / 482.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.191, allocations: 127.6 kB / 482.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.1911, allocations: 16 kB / 482.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.264e-05/0.1912, allocations: 55.77 kB / 482.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1913, allocations: 63.81 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1913, allocations: 4 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1914, allocations: 59.95 kB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.397e-05/0.1915, allocations: 31.86 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.1916, allocations: 43.61 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1918, allocations: 159.7 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1918, allocations: 4 kB / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1918, allocations: 0 / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1918, allocations: 0 / 483.1 MB, free: 1.938 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005538/0.1924, allocations: 446.7 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1924, allocations: 8.875 kB / 483.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.1925, allocations: 34.75 kB / 483.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.1925, allocations: 20.73 kB / 483.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.1928, allocations: 232.8 kB / 483.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1928, allocations: 8.375 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1928, allocations: 15.94 kB / 483.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.193, allocations: 61.66 kB / 483.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.193, allocations: 0 / 483.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.193, allocations: 0 / 483.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.193, allocations: 4 kB / 483.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.743e-05/0.1931, allocations: 31.92 kB / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.1935, allocations: 320.7 kB / 484.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002775/0.1938, allocations: 74.53 kB / 484.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.718e-05/0.1939, allocations: 24.86 kB / 484.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1939, allocations: 4.031 kB / 484.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.1941, allocations: 83.42 kB / 484.4 MB, free: 432 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.1942, allocations: 3.938 kB / 484.4 MB, free: 428 kB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008155/0.195, allocations: 273.4 kB / 484.7 MB, free: 148 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.195, allocations: 55.34 kB / 484.7 MB, free: 80 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.1953, allocations: 255.8 kB / 485 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1953, allocations: 25.7 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.1954, allocations: 116.1 kB / 485.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.1954, allocations: 39.44 kB / 485.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.1955, allocations: 37.7 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1956, allocations: 334.8 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.1957, allocations: 31.98 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.733e-05/0.1958, allocations: 53.64 kB / 485.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.196, allocations: 81.7 kB / 485.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.196, allocations: 4 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002399/0.1962, allocations: 145.4 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1962, allocations: 4 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1963, allocations: 8.156 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1963, allocations: 4 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.1964, allocations: 19.94 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.1964, allocations: 7.984 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.704e-05/0.1964, allocations: 7.922 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1964, allocations: 4 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001144/0.1966, allocations: 141.8 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.1966, allocations: 19.84 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.597e-05/0.1967, allocations: 21.39 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1967, allocations: 3.938 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1967, allocations: 4 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1967, allocations: 0 / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.1972, allocations: 475.9 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1972, allocations: 8.062 kB / 486.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.972e-05/0.1973, allocations: 16 kB / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1973, allocations: 0 / 486.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1973, allocations: 7.984 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1973, allocations: 0 / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1973, allocations: 4 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.1976, allocations: 253 kB / 486.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.1977, allocations: 96.86 kB / 486.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1977, allocations: 4 kB / 486.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.1978, allocations: 0 / 486.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.1979, allocations: 19.97 kB / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.1979, allocations: 4 kB / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1981, allocations: 201.4 kB / 487.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1981, allocations: 0 / 487.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.1985, allocations: 28 kB / 487.2 MB, free: 13.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001648/0.2001, allocations: 1.169 MB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.2003, allocations: 99.83 kB / 488.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2004, allocations: 0 / 488.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.955e-05/0.2005, allocations: 47.86 kB / 488.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.2008, allocations: 35.97 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.203, allocations: 1.975 MB / 490.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.2033, allocations: 0.7204 MB / 491.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.464e-05/0.2034, allocations: 25.06 kB / 491.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.445e-05/0.2035, allocations: 47.42 kB / 491.3 MB, free: 9.395 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2035, allocations: 4 kB / 491.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.219, allocations: 3.925 MB / 495.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001898/0.2192, allocations: 240.6 kB / 495.4 MB, free: 5.305 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.198, allocations: 0 / 495.4 MB, free: 5.305 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,d2_t_new.y Variables in the result: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.timeScaled)),der(t_new.timeScaled),t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time