Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",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.00111/0.001111, 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.001021/0.001021, allocations: 183.9 kB / 18.71 MB, free: 4.367 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2053/0.2053, allocations: 44.18 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.89 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3544, allocations: 60.82 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002938/0.3574, allocations: 1.703 MB / 0.5202 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3588, allocations: 0.8705 MB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.3589, allocations: 1 kB / 0.521 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.3593, allocations: 41.69 kB / 0.5211 GB, free: 1.484 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.3595, allocations: 55.78 kB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.3598, allocations: 110.4 kB / 0.5212 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.36, allocations: 99.28 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.3601, allocations: 7.938 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3602, allocations: 45.84 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.3603, allocations: 34.55 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.3603, allocations: 3.219 kB / 0.5214 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.3604, allocations: 42.89 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.3605, allocations: 19.84 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.3605, allocations: 33.73 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.3608, allocations: 118.4 kB / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3608, allocations: 0 / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3608, allocations: 1 kB / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.3608, 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.0005232/0.3613, allocations: 420.1 kB / 0.522 GB, free: 0.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3614, allocations: 10.16 kB / 0.522 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.3614, allocations: 33.11 kB / 0.5221 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.3615, allocations: 14 kB / 0.5221 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.3617, allocations: 207.4 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3617, allocations: 2.344 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3618, allocations: 5.938 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.3619, allocations: 58.53 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.3619, allocations: 0 / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3619, allocations: 5.531 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.362, allocations: 1.156 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.99e-05/0.362, allocations: 21.75 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.3624, allocations: 288.2 kB / 0.5226 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.3625, allocations: 59.25 kB / 0.5227 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.15e-05/0.3626, allocations: 24.8 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.3626, allocations: 1.062 kB / 0.5227 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.3628, allocations: 69.66 kB / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.3628, allocations: 0 / 0.5228 GB, free: 72 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005577/0.3633, allocations: 173.5 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3634, allocations: 57.66 kB / 0.523 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.3636, allocations: 204.8 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3637, allocations: 31.67 kB / 0.5232 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.3637, allocations: 102.6 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.3638, allocations: 26.12 kB / 0.5233 GB, free: 15.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.3638, allocations: 21.59 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.364, allocations: 323.6 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.948e-05/0.3641, allocations: 21.69 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.3641, allocations: 42.34 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.3643, allocations: 69.62 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3643, allocations: 1.125 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001917/0.3645, allocations: 101.7 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.3645, allocations: 4.625 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3645, allocations: 0.8438 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3645, allocations: 1.812 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.889e-05/0.3646, allocations: 15.95 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3646, allocations: 5.219 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.3647, allocations: 9.672 kB / 0.5239 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.637e-06/0.3647, allocations: 4.562 kB / 0.5239 GB, free: 15.13 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.0001077/0.3648, allocations: 130.1 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.3649, allocations: 13.53 kB / 0.5241 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.934e-05/0.3649, allocations: 20.58 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3649, allocations: 1.125 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3649, allocations: 1.469 kB / 0.5241 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3649, allocations: 4.594 kB / 0.5241 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.3655, allocations: 386.9 kB / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3655, allocations: 384 / 0.5245 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.3655, allocations: 13.28 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3655, allocations: 5.062 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3655, allocations: 6.719 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3655, allocations: 1.859 kB / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3655, allocations: 0 / 0.5245 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.3658, allocations: 213.9 kB / 0.5247 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.3659, allocations: 85.34 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3659, allocations: 6.562 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.366, allocations: 3 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.366, allocations: 5.656 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.366, allocations: 8.344 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.3662, allocations: 145.7 kB / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3662, allocations: 4 kB / 0.5249 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.3664, allocations: 26.73 kB / 0.525 GB, free: 14.23 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.00148/0.3679, allocations: 1.105 MB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.3681, allocations: 52.89 kB / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3681, allocations: 0 / 0.5261 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.238e-05/0.3682, allocations: 36.48 kB / 0.5261 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3686, allocations: 35.62 kB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.3704, allocations: 1.658 MB / 0.5278 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.3707, allocations: 0.7027 MB / 0.5285 GB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.998e-05/0.3708, allocations: 16.52 kB / 0.5285 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.231e-05/0.3709, allocations: 40.05 kB / 0.5285 GB, free: 11.28 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3709, allocations: 0 / 0.5285 GB, free: 11.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02208/0.393, allocations: 3.479 MB / 0.5319 GB, free: 9.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.802, allocations: 12.69 kB / 0.5319 GB, free: 9.75 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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