Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 107.7 kB / 17.32 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001045, allocations: 193.3 kB / 18.25 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2399/0.2399, allocations: 44.17 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 67.25 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1569, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004184/0.1611, allocations: 1.78 MB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.1628, allocations: 0.8653 MB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.163, allocations: 0 / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.1634, allocations: 107.8 kB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003403/0.1638, allocations: 79.78 kB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.1643, allocations: 91.77 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1645, allocations: 123.7 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.1647, allocations: 12 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.1648, allocations: 55.78 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.165, allocations: 75.67 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.165, allocations: 4 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.1652, allocations: 55.97 kB / 472.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.1653, allocations: 27.92 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.874e-05/0.1653, allocations: 39.67 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.1656, allocations: 143.8 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1657, allocations: 0 / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1657, allocations: 0 / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1657, allocations: 4 kB / 472.3 MB, free: 11.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006807/0.1664, allocations: 438.7 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.1664, allocations: 8.031 kB / 472.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.1665, allocations: 38.73 kB / 472.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.1665, allocations: 16.75 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1668, allocations: 220.9 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1669, allocations: 384 / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.1669, allocations: 7.938 kB / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.1671, allocations: 61.67 kB / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1671, allocations: 0 / 473 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1671, allocations: 4 kB / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1671, allocations: 0 / 473.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.476e-05/0.1672, allocations: 27.91 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.1677, allocations: 308.7 kB / 473.4 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.168, allocations: 58.56 kB / 473.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.168, allocations: 28.91 kB / 473.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.1681, allocations: 3.938 kB / 473.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.1683, allocations: 67.39 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.1683, allocations: 0 / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008469/0.1692, allocations: 249.5 kB / 473.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.1692, allocations: 63.34 kB / 473.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.1695, allocations: 234.3 kB / 474.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.1695, allocations: 33.69 kB / 474.1 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.1696, allocations: 112.1 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.1696, allocations: 31.56 kB / 474.2 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.1697, allocations: 33.64 kB / 474.3 MB, free: 8.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1698, allocations: 322.8 kB / 474.6 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.1699, allocations: 31.98 kB / 474.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.129e-05/0.17, allocations: 52.89 kB / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1701, allocations: 81.75 kB / 474.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1701, allocations: 0 / 474.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002364/0.1704, allocations: 129.4 kB / 474.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1704, allocations: 8 kB / 474.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1704, allocations: 240 / 474.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1704, allocations: 4.031 kB / 474.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.1705, allocations: 31.92 kB / 474.9 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1706, allocations: 3.984 kB / 474.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.1706, allocations: 0 / 474.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1706, allocations: 4 kB / 474.9 MB, free: 8.25 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001299/0.1708, allocations: 140.3 kB / 475.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.1708, allocations: 15.81 kB / 475.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.434e-05/0.1709, allocations: 21.39 kB / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1709, allocations: 7.938 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.1709, allocations: 4 kB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1709, allocations: 0 / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005368/0.1714, allocations: 463.9 kB / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1714, allocations: 0 / 475.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.1715, allocations: 12 kB / 475.6 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1715, allocations: 3.938 kB / 475.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.1715, allocations: 8.062 kB / 475.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.1715, allocations: 0 / 475.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1715, allocations: 7.984 kB / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1718, allocations: 228.9 kB / 475.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.1719, allocations: 85.02 kB / 475.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.1719, allocations: 8 kB / 475.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.51e-05/0.172, allocations: 7.984 kB / 475.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.1721, allocations: 4 kB / 475.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1721, allocations: 11.98 kB / 475.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001578/0.1722, allocations: 180.3 kB / 476.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1722, allocations: 96 / 476.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.1725, allocations: 35.92 kB / 476.1 MB, free: 6.922 MB / 350.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 (11): * Single equations (assignments): 9 * 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.001685/0.1742, allocations: 1.178 MB / 477.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.1745, allocations: 83.84 kB / 477.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1745, allocations: 0 / 477.4 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.139e-05/0.1746, allocations: 43.98 kB / 477.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.1749, allocations: 35.5 kB / 477.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.177, allocations: 1.877 MB / 479.4 MB, free: 3.785 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.1773, allocations: 0.7262 MB / 480.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.914e-05/0.1774, allocations: 20.62 kB / 480.1 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.1775, allocations: 43.42 kB / 480.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of SimCode: time 1.614e-06/0.1775, allocations: 0 / 480.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.1925, allocations: 3.769 MB / 483.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.1927, allocations: 244.8 kB / 484.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.063, allocations: 4.062 kB / 484.2 MB, free: 15.04 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],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.extrapolation,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],time