Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 79.81 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3579, allocations: 62.44 MB / 0.5306 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003127/0.3611, allocations: 1.752 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3627, allocations: 1.026 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.487e-05/0.3628, allocations: 0 / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.3632, allocations: 107.8 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.3635, allocations: 132.8 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.3637, allocations: 74.92 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.3639, allocations: 132 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3641, allocations: 12.25 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3642, allocations: 68.75 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.3643, allocations: 69.42 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3643, allocations: 5.031 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.3645, allocations: 63.89 kB / 0.534 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.3645, allocations: 30.25 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.3646, allocations: 47.23 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3649, allocations: 161.1 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3649, allocations: 0 / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3649, allocations: 1.25 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.3649, allocations: 0 / 0.5342 GB, free: 10.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005767/0.3655, allocations: 454.1 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3655, allocations: 13.62 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.3656, allocations: 35.97 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.3656, allocations: 16.47 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.3659, allocations: 233.6 kB / 0.5349 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.366, allocations: 6.688 kB / 0.5349 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.366, allocations: 6.219 kB / 0.5349 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.3662, allocations: 72.14 kB / 0.535 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.3662, allocations: 8 kB / 0.535 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3662, allocations: 0 / 0.535 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3662, allocations: 1.406 kB / 0.535 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.719e-05/0.3663, allocations: 29.17 kB / 0.535 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.3668, allocations: 319 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.367, allocations: 77.23 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.558e-05/0.3671, allocations: 24.36 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.3671, allocations: 6.578 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.3673, allocations: 72.02 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.3673, allocations: 0 / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008064/0.3681, allocations: 268.5 kB / 0.5358 GB, free: 9.277 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.3682, allocations: 60.72 kB / 0.5358 GB, free: 9.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.3684, allocations: 259.2 kB / 0.5361 GB, free: 9.035 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3685, allocations: 34.64 kB / 0.5361 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.3685, allocations: 111.5 kB / 0.5362 GB, free: 8.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.3686, allocations: 38.08 kB / 0.5362 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.3686, allocations: 31.33 kB / 0.5363 GB, free: 8.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3688, allocations: 327.6 kB / 0.5366 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.432e-05/0.3689, allocations: 36.92 kB / 0.5366 GB, free: 8.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.216e-05/0.369, allocations: 57.84 kB / 0.5367 GB, free: 8.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.3691, allocations: 89.53 kB / 0.5368 GB, free: 8.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3691, allocations: 0 / 0.5368 GB, free: 8.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000289/0.3694, allocations: 147.2 kB / 0.5369 GB, free: 8.309 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3695, allocations: 4.625 kB / 0.5369 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3695, allocations: 1.203 kB / 0.5369 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3695, allocations: 0.875 kB / 0.5369 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3696, allocations: 35.27 kB / 0.5369 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3697, allocations: 4.766 kB / 0.5369 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.3697, allocations: 6.469 kB / 0.5369 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.3697, allocations: 3.562 kB / 0.5369 GB, free: 8.285 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 (14): * Single equations (assignments): 14 * 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.0001569/0.3699, allocations: 133.5 kB / 0.5371 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.37, allocations: 15.84 kB / 0.5371 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.3701, allocations: 26.11 kB / 0.5371 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3701, allocations: 5.125 kB / 0.5371 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3701, allocations: 4 kB / 0.5371 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3701, allocations: 0.9062 kB / 0.5371 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000801/0.3709, allocations: 478.2 kB / 0.5376 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3709, allocations: 5.25 kB / 0.5376 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.371, allocations: 21.33 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3711, allocations: 1.094 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.3711, allocations: 2.844 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.3711, allocations: 2.062 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3711, allocations: 7.938 kB / 0.5376 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.3716, allocations: 246.8 kB / 0.5379 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.3717, allocations: 89.64 kB / 0.5379 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.3717, allocations: 6.25 kB / 0.5379 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.3718, allocations: 2.344 kB / 0.5379 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.3719, allocations: 13.77 kB / 0.538 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.3719, allocations: 4.688 kB / 0.538 GB, free: 7.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002633/0.3722, allocations: 200.5 kB / 0.5382 GB, free: 7.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.334e-06/0.3722, allocations: 0 / 0.5382 GB, free: 7.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000473/0.3727, allocations: 34.06 kB / 0.5382 GB, free: 7.219 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 (12): * Single equations (assignments): 10 * 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.00262/0.3753, allocations: 1.186 MB / 0.5393 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.3757, allocations: 91.25 kB / 0.5394 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.3757, allocations: 0 / 0.5394 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.3759, allocations: 50.83 kB / 0.5395 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.3765, allocations: 41.58 kB / 0.5395 GB, free: 6.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.3792, allocations: 1.946 MB / 0.5414 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3795, allocations: 0.7284 MB / 0.5421 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.125e-05/0.3796, allocations: 26.58 kB / 0.5422 GB, free: 3.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.96e-05/0.3797, allocations: 50.64 kB / 0.5422 GB, free: 3.871 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3797, allocations: 0 / 0.5422 GB, free: 3.871 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.4061, allocations: 4.224 MB / 0.5463 GB, free: 1.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.573/7.979, allocations: 15.69 kB / 0.5463 GB, free: 1.402 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],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.columns[2],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],t_new.y[2],time