Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.001452/0.001452, allocations: 114.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.001599/0.001599, 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.491/1.491, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2377/0.2377, allocations: 44.18 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4627/0.464, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003791/0.4679, allocations: 1.708 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.4695, allocations: 0.8755 MB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.4697, allocations: 1.219 kB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003876/0.4701, allocations: 42.17 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.4705, allocations: 56.12 kB / 0.5211 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.471, allocations: 108.3 kB / 0.5212 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002466/0.4713, allocations: 100.8 kB / 0.5213 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.4714, allocations: 7.016 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.4715, allocations: 46.31 kB / 0.5214 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.4716, allocations: 26.03 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.4717, allocations: 3.406 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.4718, allocations: 46.3 kB / 0.5214 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.675e-05/0.4719, allocations: 27.78 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.388e-05/0.472, allocations: 38 kB / 0.5215 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002931/0.4723, allocations: 115.1 kB / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4723, allocations: 0.75 kB / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4723, allocations: 0 / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.4723, allocations: 0 / 0.5216 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.0006255/0.473, allocations: 413 kB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.473, allocations: 9.156 kB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.4731, allocations: 37.81 kB / 0.5221 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.4731, allocations: 13.09 kB / 0.5221 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.4735, allocations: 216.6 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.4735, allocations: 1.438 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.4735, allocations: 5.875 kB / 0.5223 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.4737, allocations: 54.97 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4737, allocations: 0 / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4738, allocations: 1.031 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4738, allocations: 1.062 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.4739, allocations: 22.19 kB / 0.5224 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.4742, allocations: 294.9 kB / 0.5226 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.4744, allocations: 52.7 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.5e-05/0.4745, allocations: 20.66 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.4745, allocations: 1.188 kB / 0.5227 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.4746, allocations: 77.45 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.4747, allocations: 0 / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006647/0.4753, allocations: 173.3 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.4754, allocations: 56.44 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.4757, allocations: 201.8 kB / 0.5232 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.4757, allocations: 30.89 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.364e-05/0.4758, allocations: 100 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.4758, allocations: 30.52 kB / 0.5233 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.4759, allocations: 25.2 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.476, allocations: 326.6 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.744e-05/0.4761, allocations: 17.83 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.495e-05/0.4762, allocations: 39.62 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.4763, allocations: 65.34 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4763, allocations: 0 / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002097/0.4765, allocations: 97.95 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4766, allocations: 8.891 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.4766, allocations: 0 / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.4766, allocations: 1.125 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.4767, allocations: 25.48 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4767, allocations: 0 / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.746e-05/0.4768, allocations: 10.5 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.4768, allocations: 3.328 kB / 0.5239 GB, free: 15.14 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.0001347/0.4769, allocations: 134.3 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.477, allocations: 14.58 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.393e-05/0.4771, allocations: 17.23 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4771, allocations: 0 / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.4771, allocations: 1.109 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.4771, allocations: 4.688 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.4777, allocations: 390.7 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4777, allocations: 1.984 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.4778, allocations: 11.44 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.4778, allocations: 5.672 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4778, allocations: 6.844 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.4778, allocations: 1.125 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4778, allocations: 0.6562 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.4782, allocations: 200.8 kB / 0.5247 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.4782, allocations: 85.97 kB / 0.5248 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.4783, allocations: 9.766 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.4784, allocations: 2.75 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.4784, allocations: 9.281 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.4784, allocations: 4.891 kB / 0.5248 GB, free: 14.35 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.4786, allocations: 150.9 kB / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4786, allocations: 0 / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.4789, allocations: 27 kB / 0.525 GB, free: 14.25 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.001673/0.4806, allocations: 1.106 MB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.4808, allocations: 57.59 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4808, allocations: 0 / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.826e-05/0.4809, allocations: 33.59 kB / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.4813, allocations: 34.72 kB / 0.5262 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.4837, allocations: 1.656 MB / 0.5278 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.4841, allocations: 0.7044 MB / 0.5285 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.798e-05/0.4842, allocations: 20.16 kB / 0.5285 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/0.4842, allocations: 43.09 kB / 0.5285 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4842, allocations: 1.094 kB / 0.5285 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.5122, allocations: 3.476 MB / 0.5319 GB, free: 9.766 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.997, allocations: 5.938 kB / 0.5319 GB, free: 9.762 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time