Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36",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.001675/0.001675, 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.001889/0.001889, 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.479/1.479, 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.2183/0.2183, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 63.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4627, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003896/0.4667, allocations: 1.718 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.4682, allocations: 0.8813 MB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.4682, allocations: 1.312 kB / 0.5211 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.4686, allocations: 84.86 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.4689, allocations: 72.86 kB / 0.5212 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.4692, allocations: 125.8 kB / 0.5213 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.4694, allocations: 111.9 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.4695, allocations: 17.33 kB / 0.5215 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.4697, allocations: 57.62 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.4698, allocations: 62.95 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.4698, allocations: 4.594 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.47, allocations: 63.27 kB / 0.5216 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.366e-05/0.47, allocations: 29.41 kB / 0.5217 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.145e-05/0.4701, allocations: 37.41 kB / 0.5217 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.4704, allocations: 131.3 kB / 0.5218 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4704, allocations: 0 / 0.5218 GB, free: 1.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.4704, allocations: 1.125 kB / 0.5218 GB, free: 1.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4704, allocations: 0 / 0.5218 GB, free: 1.176 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.0006116/0.471, allocations: 433.9 kB / 0.5222 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4711, allocations: 9.906 kB / 0.5222 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.4711, allocations: 37.33 kB / 0.5223 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.4712, allocations: 19.06 kB / 0.5223 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.4715, allocations: 216.7 kB / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4715, allocations: 2.469 kB / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.4716, allocations: 12.02 kB / 0.5225 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.4718, allocations: 57.09 kB / 0.5226 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.4718, allocations: 3.906 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4718, allocations: 1.656 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.4718, allocations: 1.188 kB / 0.5226 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.514e-05/0.4719, allocations: 21.14 kB / 0.5226 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004529/0.4724, allocations: 309.3 kB / 0.5229 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.4727, allocations: 60.12 kB / 0.523 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.555e-05/0.4727, allocations: 25.7 kB / 0.523 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.4728, allocations: 1.125 kB / 0.523 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.4729, allocations: 75.66 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.473, allocations: 0 / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008717/0.4738, allocations: 244.3 kB / 0.5233 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.4739, allocations: 61.69 kB / 0.5233 GB, free: 15.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.4742, allocations: 222.1 kB / 0.5236 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.4742, allocations: 26.92 kB / 0.5236 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.4743, allocations: 114.3 kB / 0.5237 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.4743, allocations: 35.75 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.4744, allocations: 23.84 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4745, allocations: 328.4 kB / 0.5241 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.4746, allocations: 26.33 kB / 0.5241 GB, free: 15.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.115e-05/0.4747, allocations: 48.84 kB / 0.5241 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.4749, allocations: 83.42 kB / 0.5242 GB, free: 15.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4749, allocations: 1.094 kB / 0.5242 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002359/0.4751, allocations: 132.2 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4752, allocations: 8.594 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.4752, allocations: 2.141 kB / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4752, allocations: 0 / 0.5243 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.4753, allocations: 24.72 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.4753, allocations: 1.406 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.4754, allocations: 7.625 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4754, allocations: 7.188 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.0001289/0.4755, allocations: 133.6 kB / 0.5245 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.4755, allocations: 16.33 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.4756, allocations: 21.7 kB / 0.5245 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4756, allocations: 6.062 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4756, allocations: 4 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4756, allocations: 0.5625 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.4762, allocations: 452.8 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4762, allocations: 1.344 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.026e-05/0.4763, allocations: 18.98 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4763, allocations: 0 / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.4763, allocations: 3.281 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.4763, allocations: 2.562 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4763, allocations: 0 / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.4766, allocations: 248.6 kB / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.4767, allocations: 85.03 kB / 0.5253 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.4767, allocations: 3.312 kB / 0.5253 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.4768, allocations: 3.422 kB / 0.5253 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.4769, allocations: 14.59 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.4769, allocations: 5.969 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.4771, allocations: 179.4 kB / 0.5255 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4771, allocations: 0 / 0.5255 GB, free: 14.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.4774, allocations: 30.33 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.00175/0.4791, allocations: 1.176 MB / 0.5267 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.4793, allocations: 81.97 kB / 0.5268 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4794, allocations: 1.219 kB / 0.5268 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.935e-05/0.4795, allocations: 38.36 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.0003761/0.4799, allocations: 34.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.002202/0.4821, allocations: 1.816 MB / 0.5286 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.4824, allocations: 0.7185 MB / 0.5293 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.33e-05/0.4825, allocations: 22.64 kB / 0.5294 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/0.4826, allocations: 46.31 kB / 0.5294 GB, free: 10.96 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4826, allocations: 0 / 0.5294 GB, free: 10.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.5054, allocations: 3.898 MB / 0.5332 GB, free: 9.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/8.111, allocations: 28.22 kB / 0.5332 GB, free: 9.113 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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