Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",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.001191/0.001191, allocations: 109.2 kB / 17.33 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.001156/0.001156, 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.461/1.461, allocations: 222.9 MB / 241.9 MB, free: 15.38 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.2419/0.2419, allocations: 44.17 MB / 336.2 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.77 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1563, allocations: 60.84 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003478/0.1598, allocations: 1.776 MB / 470.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1613, allocations: 0.8653 MB / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.096e-05/0.1614, allocations: 0 / 471.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.1618, allocations: 83.77 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.162, allocations: 63.8 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.1623, allocations: 103.8 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1625, allocations: 111.7 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1626, allocations: 19.98 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.1628, allocations: 47.78 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1629, allocations: 59.75 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1629, allocations: 4 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.163, allocations: 59.98 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.431e-05/0.1631, allocations: 27.84 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.806e-05/0.1632, allocations: 43.73 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.1634, allocations: 127.9 kB / 472.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.1634, allocations: 3.984 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.28e-06/0.1634, allocations: 0 / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1634, allocations: 7.938 kB / 472.2 MB, free: 11.21 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.0005992/0.164, allocations: 418.9 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1641, allocations: 8.031 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.1641, allocations: 30.75 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1642, allocations: 20.75 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1644, allocations: 216.5 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1645, allocations: 384 / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1645, allocations: 11.94 kB / 472.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1647, allocations: 61.66 kB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1647, allocations: 3.984 kB / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1647, allocations: 0 / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1647, allocations: 0 / 473 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.139e-05/0.1648, allocations: 19.98 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.1652, allocations: 316.6 kB / 473.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.1655, allocations: 62.55 kB / 473.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.1655, allocations: 20.97 kB / 473.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1656, allocations: 7.938 kB / 473.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1658, allocations: 71.38 kB / 473.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1658, allocations: 3.938 kB / 473.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000797/0.1666, allocations: 237.1 kB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.1667, allocations: 55.34 kB / 473.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1669, allocations: 215.5 kB / 474 MB, free: 9.258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1669, allocations: 29.7 kB / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.167, allocations: 112.1 kB / 474.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.167, allocations: 27.56 kB / 474.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.1671, allocations: 33.7 kB / 474.2 MB, free: 9.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1672, allocations: 326.8 kB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.286e-05/0.1673, allocations: 27.98 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.531e-05/0.1673, allocations: 45.7 kB / 474.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.1675, allocations: 81.64 kB / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1675, allocations: 0 / 474.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002027/0.1677, allocations: 129.4 kB / 474.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1677, allocations: 4 kB / 474.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1677, allocations: 0 / 474.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1678, allocations: 0 / 474.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.48e-05/0.1679, allocations: 35.86 kB / 474.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1679, allocations: 0 / 474.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.1679, allocations: 8 kB / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-06/0.1679, allocations: 0 / 474.8 MB, free: 8.371 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.0001181/0.1681, allocations: 140.5 kB / 474.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.1681, allocations: 15.81 kB / 475 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.1681, allocations: 21.41 kB / 475 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1682, allocations: 3.938 kB / 475 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1682, allocations: 0 / 475 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.1682, allocations: 3.984 kB / 475 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.1687, allocations: 448 kB / 475.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1687, allocations: 4 kB / 475.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.1688, allocations: 19.92 kB / 475.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1688, allocations: 0 / 475.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.1688, allocations: 8 kB / 475.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1688, allocations: 0 / 475.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1688, allocations: 0 / 475.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1691, allocations: 245 kB / 475.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.1691, allocations: 85.02 kB / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1692, allocations: 4 kB / 475.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1693, allocations: 4 kB / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.1693, allocations: 11.98 kB / 475.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1693, allocations: 4 kB / 475.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.1695, allocations: 155.2 kB / 476 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1695, allocations: 0 / 476 MB, free: 7.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.1698, allocations: 39.98 kB / 476 MB, free: 7.074 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.00161/0.1714, allocations: 1.176 MB / 477.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1716, allocations: 91.84 kB / 477.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1716, allocations: 0 / 477.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.49e-05/0.1717, allocations: 39.92 kB / 477.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.1721, allocations: 23.98 kB / 477.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.1741, allocations: 1.8 MB / 479.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.1745, allocations: 0.7233 MB / 479.8 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.608e-05/0.1746, allocations: 20.62 kB / 479.9 MB, free: 3.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.1746, allocations: 39.42 kB / 479.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1747, allocations: 0 / 479.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.189, allocations: 3.629 MB / 483.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.1893, allocations: 241.9 kB / 483.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.069, allocations: 4 kB / 483.8 MB, free: 15.43 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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[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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time