Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.001245/0.001244, 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.001513/0.001513, allocations: 187.8 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.405/1.405, 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.2176/0.2176, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001623, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.398, allocations: 60.83 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003194/0.4012, allocations: 1.651 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.4025, allocations: 0.8602 MB / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.832e-05/0.4026, allocations: 1.562 kB / 0.521 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.4029, allocations: 48.88 kB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.4032, allocations: 60.22 kB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.4035, allocations: 108 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.4037, allocations: 92.55 kB / 0.5212 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.4037, allocations: 4.375 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.4038, allocations: 37.7 kB / 0.5213 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.4039, allocations: 41.77 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.404, allocations: 3.125 kB / 0.5213 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.54e-05/0.404, allocations: 25.81 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.4041, allocations: 24.27 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.088e-05/0.4042, allocations: 43.89 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.4044, allocations: 112.7 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4044, allocations: 0 / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4044, allocations: 0 / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.4044, allocations: 5 kB / 0.5215 GB, free: 1.266 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005456/0.405, allocations: 441.4 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.405, allocations: 9.156 kB / 0.522 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.4051, allocations: 37.08 kB / 0.522 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.4051, allocations: 14.56 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.4054, allocations: 209.4 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.4054, allocations: 1.5 kB / 0.5222 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.4054, allocations: 6.703 kB / 0.5222 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.4056, allocations: 50.56 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4056, allocations: 0 / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.4056, allocations: 1.219 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.4056, allocations: 4.516 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.708e-05/0.4057, allocations: 19.16 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.4059, allocations: 186.5 kB / 0.5225 GB, free: 324 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.4061, allocations: 56.84 kB / 0.5225 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.4061, allocations: 22.61 kB / 0.5225 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.4062, allocations: 5.531 kB / 0.5225 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.4063, allocations: 64.7 kB / 0.5226 GB, free: 208 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4063, allocations: 0 / 0.5226 GB, free: 208 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003093/0.4067, allocations: 98.41 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.4067, allocations: 51.41 kB / 0.5228 GB, free: 88 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.407, allocations: 262.9 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.4071, allocations: 30.8 kB / 0.523 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.599e-05/0.4071, allocations: 118.4 kB / 0.5231 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.4072, allocations: 11.86 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.4072, allocations: 20 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4074, allocations: 328 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.406e-05/0.4074, allocations: 14.11 kB / 0.5235 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.4075, allocations: 35.53 kB / 0.5235 GB, free: 15.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.952e-05/0.4076, allocations: 45.95 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4076, allocations: 3.938 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001572/0.4078, allocations: 85.11 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4078, allocations: 5 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.4078, allocations: 2.062 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4078, allocations: 1.562 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/0.4079, allocations: 10.05 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.4079, allocations: 1.5 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.408, allocations: 10.67 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.408, allocations: 2.312 kB / 0.5237 GB, free: 15.32 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 (7): * Single equations (assignments): 7 * 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.0001267/0.4081, allocations: 132.7 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.4082, allocations: 14.31 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.4082, allocations: 18.77 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4082, allocations: 5.312 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.4083, allocations: 0 / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4083, allocations: 1.625 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.4085, allocations: 201.7 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4085, allocations: 4.703 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.4085, allocations: 7.188 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4085, allocations: 5.203 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.4085, allocations: 1.938 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4085, allocations: 0 / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4085, allocations: 0.9688 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.4087, allocations: 114.4 kB / 0.5242 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.4088, allocations: 89 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.4088, allocations: 5.75 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-05/0.4089, allocations: 2.516 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.4089, allocations: 3.625 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.4089, allocations: 2.672 kB / 0.5243 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.4092, allocations: 204 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4092, allocations: 5.375 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.4094, allocations: 17.83 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001412/0.4108, allocations: 0.9698 MB / 0.5254 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.411, allocations: 40.03 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4111, allocations: 0 / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.913e-05/0.4111, allocations: 23.25 kB / 0.5255 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.4114, allocations: 22.53 kB / 0.5255 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.4134, allocations: 1.644 MB / 0.5271 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.4137, allocations: 0.7193 MB / 0.5278 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.4138, allocations: 10.92 kB / 0.5278 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.4139, allocations: 36.44 kB / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4139, allocations: 0 / 0.5279 GB, free: 11.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.433, allocations: 3.451 MB / 0.5313 GB, free: 10.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.905, allocations: 8.812 kB / 0.5313 GB, free: 10.36 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result: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