Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.001269, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2251/0.2251, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 79.88 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4518, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003833/0.4557, allocations: 1.754 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.4579, allocations: 1.022 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.4581, allocations: 1.094 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.4586, allocations: 106.4 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.4593, allocations: 132.8 kB / 0.5336 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.4596, allocations: 76.19 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.4599, allocations: 120.4 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.4601, allocations: 19.55 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.4602, allocations: 59.59 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.4604, allocations: 59.97 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.4604, allocations: 4.625 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.4606, allocations: 67.05 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.907e-05/0.4607, allocations: 28.66 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.4608, allocations: 46.17 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.4612, allocations: 138.3 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4612, allocations: 1.375 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4612, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.4612, allocations: 0 / 0.5341 GB, free: 10.75 MB / 398.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.000887/0.4621, allocations: 455.7 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.4622, allocations: 9.625 kB / 0.5346 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.4622, allocations: 36.12 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.4623, allocations: 15.62 kB / 0.5346 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.4628, allocations: 227 kB / 0.5349 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.4628, allocations: 1.75 kB / 0.5349 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.822e-05/0.4628, allocations: 14.67 kB / 0.5349 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.4631, allocations: 56.8 kB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.4631, allocations: 0 / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4631, allocations: 1.375 kB / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4632, allocations: 0 / 0.5349 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.4633, allocations: 25.67 kB / 0.5349 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005358/0.4638, allocations: 325.4 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.4641, allocations: 54.06 kB / 0.5353 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.708e-05/0.4642, allocations: 26.59 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.4642, allocations: 1.375 kB / 0.5353 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.4644, allocations: 74.45 kB / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.4644, allocations: 0 / 0.5354 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008483/0.4652, allocations: 243.8 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.4653, allocations: 60.34 kB / 0.5357 GB, free: 9.258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.4656, allocations: 254.8 kB / 0.5359 GB, free: 9.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.4657, allocations: 26.89 kB / 0.536 GB, free: 9.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.4658, allocations: 115.9 kB / 0.5361 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.4658, allocations: 36.45 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.4659, allocations: 22.09 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.466, allocations: 327.9 kB / 0.5364 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.036e-05/0.4661, allocations: 30.77 kB / 0.5365 GB, free: 8.555 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.4663, allocations: 55.41 kB / 0.5365 GB, free: 8.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.4664, allocations: 81.09 kB / 0.5366 GB, free: 8.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4664, allocations: 0 / 0.5366 GB, free: 8.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002698/0.4667, allocations: 133.9 kB / 0.5367 GB, free: 8.383 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4667, allocations: 6.375 kB / 0.5367 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4667, allocations: 0 / 0.5367 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4668, allocations: 1.062 kB / 0.5367 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.4669, allocations: 25.98 kB / 0.5368 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4669, allocations: 1.125 kB / 0.5368 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.4669, allocations: 6.25 kB / 0.5368 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.467, allocations: 7.344 kB / 0.5368 GB, free: 8.367 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.0001505/0.4671, allocations: 135.5 kB / 0.5369 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4672, allocations: 16.16 kB / 0.5369 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.4672, allocations: 24.45 kB / 0.5369 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.4672, allocations: 5.062 kB / 0.537 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4672, allocations: 1.25 kB / 0.537 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4673, allocations: 0 / 0.537 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.4679, allocations: 460.6 kB / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4679, allocations: 1.094 kB / 0.5374 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.4679, allocations: 15.52 kB / 0.5374 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.4679, allocations: 0.875 kB / 0.5374 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.468, allocations: 3.156 kB / 0.5374 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.468, allocations: 5.031 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.468, allocations: 0.9688 kB / 0.5374 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.4683, allocations: 243.2 kB / 0.5376 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.4684, allocations: 92.98 kB / 0.5377 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.4685, allocations: 2.375 kB / 0.5377 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.4685, allocations: 1.5 kB / 0.5377 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.4686, allocations: 14.11 kB / 0.5378 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.4686, allocations: 7.797 kB / 0.5378 GB, free: 7.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.4689, allocations: 189.2 kB / 0.5379 GB, free: 7.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4689, allocations: 0 / 0.5379 GB, free: 7.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003193/0.4692, allocations: 33.27 kB / 0.538 GB, free: 7.316 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.001807/0.471, allocations: 1.162 MB / 0.5391 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.4713, allocations: 89.78 kB / 0.5392 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4713, allocations: 1.406 kB / 0.5392 GB, free: 6.391 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/0.4714, allocations: 39.33 kB / 0.5392 GB, free: 6.375 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.4718, allocations: 40.27 kB / 0.5393 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.4743, allocations: 1.891 MB / 0.5411 GB, free: 4.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.4747, allocations: 0.7138 MB / 0.5418 GB, free: 4.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.4747, allocations: 20.86 kB / 0.5418 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.955e-05/0.4749, allocations: 49.72 kB / 0.5419 GB, free: 4.023 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4749, allocations: 0 / 0.5419 GB, free: 4.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.4982, allocations: 4.07 MB / 0.5459 GB, free: 1.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/8.266, allocations: 7.344 kB / 0.5459 GB, free: 1.844 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.nHeaderLines,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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time