Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.001667/0.001667, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001758/0.001758, allocations: 187 kB / 18.71 MB, free: 4.344 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.1957/0.1957, allocations: 44.17 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 71.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3663, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002948/0.3693, allocations: 1.709 MB / 0.5202 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3706, allocations: 0.8699 MB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.724e-05/0.3707, allocations: 1.156 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.371, allocations: 50.48 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.3713, allocations: 59.8 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.3715, allocations: 118.3 kB / 0.5212 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.3717, allocations: 99.17 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.3718, allocations: 12.11 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.454e-05/0.3719, allocations: 41.47 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.372, allocations: 30.75 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.372, allocations: 3.438 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.321e-05/0.3721, allocations: 42.97 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.3722, allocations: 30.59 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.3722, allocations: 39 kB / 0.5215 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.3724, allocations: 127 kB / 0.5217 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3724, allocations: 1.844 kB / 0.5217 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3724, allocations: 3.938 kB / 0.5217 GB, free: 1.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3725, allocations: 4 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004877/0.373, allocations: 439.7 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.373, allocations: 10.16 kB / 0.5221 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.078e-05/0.373, allocations: 33.25 kB / 0.5221 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.3731, allocations: 14.16 kB / 0.5221 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.3733, allocations: 223.2 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3734, allocations: 2.359 kB / 0.5224 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.3734, allocations: 9.125 kB / 0.5224 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3735, allocations: 59.22 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3736, allocations: 0 / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3736, allocations: 1.766 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3736, allocations: 0 / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.3737, allocations: 19.02 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.374, allocations: 293.2 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3742, allocations: 64.11 kB / 0.5228 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.3742, allocations: 19.98 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3743, allocations: 1.188 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.3744, allocations: 65.95 kB / 0.5229 GB, free: 56 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3744, allocations: 0 / 0.5229 GB, free: 56 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005531/0.375, allocations: 179.2 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.375, allocations: 65.22 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.3753, allocations: 262.5 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.3753, allocations: 31.05 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.3754, allocations: 114.4 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.3754, allocations: 25.61 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.3755, allocations: 23.14 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3756, allocations: 328.8 kB / 0.5238 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.102e-05/0.3756, allocations: 25.52 kB / 0.5239 GB, free: 15.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.3757, allocations: 43.73 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3758, allocations: 60.81 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3759, allocations: 1.031 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.3761, allocations: 102.2 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3761, allocations: 5.656 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3761, allocations: 1.219 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3761, allocations: 4.938 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.3762, allocations: 19.08 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3762, allocations: 1.344 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.3763, allocations: 7.234 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3763, allocations: 3.219 kB / 0.5241 GB, free: 15.09 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001117/0.3764, allocations: 137.5 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3764, allocations: 19.11 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.3765, allocations: 18.17 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3765, allocations: 6.891 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.3765, allocations: 0 / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.3765, allocations: 4.453 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.377, allocations: 403.4 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.377, allocations: 0.5625 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.377, allocations: 7.922 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.377, allocations: 7.062 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3771, allocations: 0.7969 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3771, allocations: 5.219 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3771, allocations: 0.5156 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.3773, allocations: 209.9 kB / 0.5249 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.3774, allocations: 94.02 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.3774, allocations: 6.188 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.3775, allocations: 6.984 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.3776, allocations: 10.03 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3776, allocations: 4.141 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.3778, allocations: 203.8 kB / 0.5252 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3778, allocations: 0 / 0.5252 GB, free: 14.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.3781, allocations: 23.44 kB / 0.5252 GB, free: 14.16 MB / 398.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: 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 (8): * Single equations (assignments): 6 * 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.001407/0.3795, allocations: 1.106 MB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.3797, allocations: 56 kB / 0.5264 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3797, allocations: 9.344 kB / 0.5264 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.3798, allocations: 25.2 kB / 0.5264 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.3802, allocations: 31.14 kB / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.3821, allocations: 1.798 MB / 0.5282 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3824, allocations: 0.7241 MB / 0.5289 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.361e-05/0.3825, allocations: 13.33 kB / 0.5289 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.3826, allocations: 44.88 kB / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3826, allocations: 0 / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.4044, allocations: 3.753 MB / 0.5326 GB, free: 9.465 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.189, allocations: 7.469 kB / 0.5326 GB, free: 9.461 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),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.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time