Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 117.1 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001303/0.001303, allocations: 202 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.366/1.366, allocations: 227.4 MB / 246.9 MB, free: 10.51 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.001596/0.001596, allocations: 76.11 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.349, allocations: 62.44 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003037/0.3521, allocations: 1.733 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.3536, allocations: 1.015 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.389e-05/0.3537, allocations: 7.875 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003164/0.354, allocations: 58.78 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.3543, allocations: 94.94 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.3545, allocations: 78.08 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3547, allocations: 101.9 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3549, allocations: 18.42 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.604e-05/0.355, allocations: 43.97 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.073e-05/0.355, allocations: 30.39 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3551, allocations: 3.875 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.3552, allocations: 51.44 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.3553, allocations: 28.25 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.3553, allocations: 45 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.3556, allocations: 136.4 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3556, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3556, allocations: 1.219 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.3556, allocations: 0 / 0.534 GB, free: 10.83 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007257/0.3563, allocations: 457.4 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3564, allocations: 8.594 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.3564, allocations: 37.78 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.3565, allocations: 18.61 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.3568, allocations: 226.9 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3568, allocations: 2.281 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.3568, allocations: 5.75 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.3571, allocations: 58.11 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3571, allocations: 7.906 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3572, allocations: 1.312 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.3572, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.256e-05/0.3573, allocations: 23.27 kB / 0.5348 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005594/0.3578, allocations: 296.1 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.3581, allocations: 58.52 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.3581, allocations: 21.36 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3582, allocations: 5.047 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.3584, allocations: 69.05 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3584, allocations: 0 / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006534/0.359, allocations: 180.7 kB / 0.5354 GB, free: 9.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.3591, allocations: 60.77 kB / 0.5354 GB, free: 9.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003349/0.3594, allocations: 284.9 kB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3595, allocations: 31.08 kB / 0.5357 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.3597, allocations: 112.4 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3598, allocations: 26.44 kB / 0.5359 GB, free: 9.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.3598, allocations: 20.59 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.3601, allocations: 332.3 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.951e-05/0.3601, allocations: 22.94 kB / 0.5362 GB, free: 8.684 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.229e-05/0.3602, allocations: 43.39 kB / 0.5363 GB, free: 8.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.3605, allocations: 63.83 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3606, allocations: 0 / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002106/0.3608, allocations: 105 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3608, allocations: 5.281 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3608, allocations: 1.094 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3608, allocations: 1.094 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3609, allocations: 20.75 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.361, allocations: 1.062 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.361, allocations: 10.08 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.361, allocations: 6.406 kB / 0.5365 GB, free: 8.52 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.0001556/0.3612, allocations: 135.3 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.3613, allocations: 14.88 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.3613, allocations: 18.06 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.3613, allocations: 5.141 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3613, allocations: 4 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.3614, allocations: 4.312 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.3619, allocations: 409.8 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3619, allocations: 4 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.362, allocations: 8.062 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.362, allocations: 5.188 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.362, allocations: 5.344 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.362, allocations: 1.125 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.362, allocations: 1.125 kB / 0.537 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3623, allocations: 209.2 kB / 0.5372 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.3624, allocations: 89.58 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.3624, allocations: 6.062 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/0.3625, allocations: 5.125 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.3625, allocations: 11.41 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.3625, allocations: 3.375 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001919/0.3627, allocations: 221.6 kB / 0.5376 GB, free: 7.527 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3627, allocations: 0 / 0.5376 GB, free: 7.527 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.363, allocations: 25.78 kB / 0.5376 GB, free: 7.52 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.001494/0.3645, allocations: 1.102 MB / 0.5387 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001881/0.3647, allocations: 58.92 kB / 0.5387 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3647, allocations: 0 / 0.5387 GB, free: 6.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.638e-05/0.3648, allocations: 36.8 kB / 0.5388 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3651, allocations: 25.11 kB / 0.5388 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.3672, allocations: 1.859 MB / 0.5406 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.3675, allocations: 0.7263 MB / 0.5413 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.073e-05/0.3676, allocations: 14.44 kB / 0.5413 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.3677, allocations: 43.36 kB / 0.5414 GB, free: 4.309 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3677, allocations: 0 / 0.5414 GB, free: 4.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.3868, allocations: 3.884 MB / 0.5452 GB, free: 2.227 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/8.046, allocations: 16.94 kB / 0.5452 GB, free: 2.211 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.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[10,1],t_new.table[10,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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time