Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.001085/0.001085, allocations: 110.4 kB / 17.78 MB, free: 5.27 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.001198/0.001198, allocations: 183.8 kB / 18.71 MB, free: 4.348 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.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2172/0.2172, allocations: 44.18 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3646, allocations: 60.82 MB / 0.5185 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002539/0.3672, allocations: 1.727 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3683, allocations: 0.8763 MB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.265e-05/0.3684, allocations: 5.125 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.3687, allocations: 81.7 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002209/0.369, allocations: 76.77 kB / 0.5212 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.3692, allocations: 122 kB / 0.5213 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3694, allocations: 111.1 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.183e-05/0.3695, allocations: 25.31 kB / 0.5215 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.677e-05/0.3696, allocations: 53.28 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3697, allocations: 64.09 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3698, allocations: 4.469 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.3699, allocations: 62.14 kB / 0.5216 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.3699, allocations: 21.75 kB / 0.5217 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.37, allocations: 38.25 kB / 0.5217 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.3702, allocations: 135.9 kB / 0.5218 GB, free: 1.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3702, allocations: 0 / 0.5218 GB, free: 1.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3702, allocations: 3.938 kB / 0.5218 GB, free: 1.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3703, allocations: 4 kB / 0.5218 GB, free: 1.172 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004342/0.3707, allocations: 439.6 kB / 0.5223 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3707, allocations: 9.219 kB / 0.5223 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.447e-05/0.3708, allocations: 33.11 kB / 0.5223 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.3708, allocations: 18.44 kB / 0.5223 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.371, allocations: 205.1 kB / 0.5225 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.371, allocations: 2.266 kB / 0.5225 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3711, allocations: 15.31 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.3712, allocations: 61.97 kB / 0.5226 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3712, allocations: 3.906 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.3712, allocations: 1.953 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3713, allocations: 1.094 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.3713, allocations: 20.44 kB / 0.5226 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003033/0.3716, allocations: 304.5 kB / 0.5229 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.3719, allocations: 69.31 kB / 0.523 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.406e-05/0.3719, allocations: 20.62 kB / 0.523 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.372, allocations: 1.922 kB / 0.523 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.3721, allocations: 67.2 kB / 0.523 GB, free: 16 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.3721, allocations: 1.094 kB / 0.523 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007371/0.3729, allocations: 248.3 kB / 0.5233 GB, free: 15.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.3729, allocations: 65.42 kB / 0.5233 GB, free: 15.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.3731, allocations: 218.5 kB / 0.5236 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.3732, allocations: 27.11 kB / 0.5236 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.3732, allocations: 110.4 kB / 0.5237 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.3733, allocations: 35.09 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.3733, allocations: 25.2 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3734, allocations: 327.8 kB / 0.5241 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.02e-05/0.3735, allocations: 33.91 kB / 0.5241 GB, free: 15.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-05/0.3736, allocations: 45.09 kB / 0.5241 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3737, allocations: 76.3 kB / 0.5242 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3737, allocations: 3.938 kB / 0.5242 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002295/0.374, allocations: 129 kB / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.374, allocations: 4.844 kB / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.374, allocations: 5.469 kB / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.374, allocations: 1.734 kB / 0.5243 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.3741, allocations: 32.83 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3741, allocations: 0 / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.3742, allocations: 7.547 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.3742, allocations: 3.625 kB / 0.5244 GB, free: 15.01 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 (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.0001113/0.3743, allocations: 131.7 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.3744, allocations: 14.16 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.3744, allocations: 21.78 kB / 0.5245 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3744, allocations: 10.28 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3744, allocations: 0.7969 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3745, allocations: 0.7031 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005433/0.375, allocations: 453.4 kB / 0.525 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.375, allocations: 0 / 0.525 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.3751, allocations: 14.48 kB / 0.525 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3751, allocations: 1.75 kB / 0.525 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3751, allocations: 6.641 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3751, allocations: 10.47 kB / 0.525 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3751, allocations: 0 / 0.525 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.3754, allocations: 239.5 kB / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.3754, allocations: 88.7 kB / 0.5253 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.3755, allocations: 0 / 0.5253 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.3756, allocations: 8.5 kB / 0.5253 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.3756, allocations: 14.7 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3756, allocations: 5.562 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.3758, allocations: 175.2 kB / 0.5255 GB, free: 14.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3758, allocations: 0 / 0.5255 GB, free: 14.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.376, allocations: 30.31 kB / 0.5256 GB, free: 14.05 MB / 398.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.001551/0.3776, allocations: 1.175 MB / 0.5267 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.3778, allocations: 77.81 kB / 0.5268 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3778, allocations: 0 / 0.5268 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.3779, allocations: 48.06 kB / 0.5268 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.3783, allocations: 33.59 kB / 0.5269 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3801, allocations: 1.814 MB / 0.5286 GB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.3804, allocations: 0.7222 MB / 0.5293 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.552e-05/0.3805, allocations: 18.92 kB / 0.5294 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.3806, allocations: 46.17 kB / 0.5294 GB, free: 10.96 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3806, allocations: 0 / 0.5294 GB, free: 10.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.4003, allocations: 3.898 MB / 0.5332 GB, free: 9.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.205, allocations: 16.38 kB / 0.5332 GB, free: 9.141 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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),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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time