Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.00112/0.00112, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001354/0.001354, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.318/1.318, 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.2008/0.2008, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3818, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002881/0.3847, allocations: 1.671 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3864, allocations: 0.8571 MB / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.36e-05/0.3865, allocations: 0 / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004028/0.3869, allocations: 53.91 kB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.3872, allocations: 56.14 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.3876, allocations: 107.8 kB / 0.5212 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3878, allocations: 88.36 kB / 0.5212 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.185e-05/0.3879, allocations: 13.59 kB / 0.5213 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.388, allocations: 44.23 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.07e-05/0.3881, allocations: 25.89 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.3881, allocations: 3.875 kB / 0.5213 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.269e-05/0.3882, allocations: 25.66 kB / 0.5214 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.561e-05/0.3883, allocations: 27.08 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.3884, allocations: 38.33 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.3887, allocations: 118.7 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3887, allocations: 1.094 kB / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.3887, allocations: 0 / 0.5215 GB, free: 1.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.3887, allocations: 3.938 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.0007059/0.3894, allocations: 430.2 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3895, allocations: 9.484 kB / 0.522 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.658e-05/0.3895, allocations: 36.53 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.3896, allocations: 14.86 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.3899, allocations: 213.6 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.39, allocations: 1.922 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.39, allocations: 5.219 kB / 0.5222 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.3902, allocations: 55.33 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3902, allocations: 4 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.3902, allocations: 1.219 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3902, allocations: 0.6562 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.285e-05/0.3903, allocations: 14.53 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002174/0.3905, allocations: 186.2 kB / 0.5225 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.3907, allocations: 57.25 kB / 0.5225 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.002e-05/0.3908, allocations: 23.02 kB / 0.5225 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.3908, allocations: 9.734 kB / 0.5226 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.391, allocations: 61 kB / 0.5226 GB, free: 216 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.391, allocations: 0 / 0.5226 GB, free: 216 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000343/0.3914, allocations: 96.84 kB / 0.5227 GB, free: 160 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.3914, allocations: 52.95 kB / 0.5228 GB, free: 96 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.3918, allocations: 266.6 kB / 0.523 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3918, allocations: 33.64 kB / 0.523 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.981e-05/0.3919, allocations: 114.9 kB / 0.5231 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.392, allocations: 8.562 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.392, allocations: 18.89 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3922, allocations: 329.5 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.984e-05/0.3923, allocations: 13.41 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-05/0.3924, allocations: 30.48 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/0.3925, allocations: 46.12 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3925, allocations: 3.938 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001726/0.3927, allocations: 85.98 kB / 0.5237 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3927, allocations: 10.27 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3927, allocations: 0 / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3927, allocations: 1.375 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/0.3928, allocations: 10.33 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.3928, allocations: 6.094 kB / 0.5237 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.3929, allocations: 6.875 kB / 0.5237 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3929, allocations: 2.188 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.0001664/0.3931, allocations: 140.2 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3931, allocations: 14.25 kB / 0.5238 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.3932, allocations: 18.06 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3932, allocations: 1.75 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3932, allocations: 0 / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3932, allocations: 1.859 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.3934, allocations: 200.7 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3934, allocations: 1.25 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.3934, allocations: 4.047 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3935, allocations: 0 / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3935, allocations: 2.203 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3935, allocations: 0 / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3935, allocations: 1.844 kB / 0.5241 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.3937, allocations: 118.2 kB / 0.5242 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.3938, allocations: 91.91 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.3939, allocations: 2.812 kB / 0.5243 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-05/0.3939, allocations: 6 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.394, allocations: 4.453 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.394, allocations: 6.5 kB / 0.5243 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000374/0.3944, allocations: 204.5 kB / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3944, allocations: 0 / 0.5245 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.3946, allocations: 18.06 kB / 0.5245 GB, free: 14.64 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.00169/0.3963, allocations: 0.958 MB / 0.5254 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.3965, allocations: 44.67 kB / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3965, allocations: 0 / 0.5255 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-05/0.3966, allocations: 22.89 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3969, allocations: 32.62 kB / 0.5255 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.399, allocations: 1.644 MB / 0.5271 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.3994, allocations: 0.713 MB / 0.5278 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.876e-05/0.3995, allocations: 15.25 kB / 0.5278 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.3996, allocations: 41.14 kB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3996, allocations: 3.938 kB / 0.5279 GB, free: 11.85 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.4264, allocations: 3.446 MB / 0.5313 GB, free: 10.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.859, allocations: 15.45 kB / 0.5313 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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