Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001506/0.001506, 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.001907/0.001907, 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.397/1.397, 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.2202/0.2202, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 83.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3742, allocations: 62.43 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003185/0.3775, allocations: 1.722 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.379, allocations: 1.023 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.3791, allocations: 1.938 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.3794, allocations: 81.42 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.3798, allocations: 122 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.38, allocations: 78.86 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.3802, allocations: 113.2 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3803, allocations: 6.875 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3804, allocations: 57.75 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3806, allocations: 60.62 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3806, allocations: 2.75 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.3807, allocations: 48.86 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.3808, allocations: 28.11 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.3808, allocations: 35.98 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.381, allocations: 126.5 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.381, allocations: 5.438 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.381, allocations: 3.938 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3811, allocations: 0 / 0.534 GB, free: 10.79 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.0005909/0.3817, allocations: 427.8 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3817, allocations: 8.562 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.3817, allocations: 36.5 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.3818, allocations: 13.94 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.3821, allocations: 224.9 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3821, allocations: 2.906 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.3821, allocations: 4.969 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.3823, allocations: 54.64 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3823, allocations: 0 / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3823, allocations: 1.375 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3823, allocations: 0 / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.519e-05/0.3824, allocations: 27.31 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.3827, allocations: 295.7 kB / 0.5351 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.3829, allocations: 50.62 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.617e-05/0.383, allocations: 21.69 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.383, allocations: 1.094 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001588/0.3832, allocations: 72.67 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3832, allocations: 0 / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005715/0.3838, allocations: 175.7 kB / 0.5354 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.3838, allocations: 56.53 kB / 0.5354 GB, free: 9.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3841, allocations: 229.2 kB / 0.5356 GB, free: 9.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3841, allocations: 27.05 kB / 0.5357 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.3842, allocations: 109.5 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.3842, allocations: 23.89 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.3842, allocations: 24.98 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3844, allocations: 326.8 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.3844, allocations: 18.22 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.3845, allocations: 35.98 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.3846, allocations: 63.73 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3846, allocations: 0 / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.3848, allocations: 104.4 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3848, allocations: 4.125 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3849, allocations: 1.375 kB / 0.5363 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3849, allocations: 5.312 kB / 0.5364 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.385, allocations: 16.5 kB / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.385, allocations: 1.375 kB / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.385, allocations: 14.61 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.3851, allocations: 7.156 kB / 0.5364 GB, free: 8.547 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 9.418e-05/0.3851, allocations: 128.2 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.3852, allocations: 13.39 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.293e-05/0.3852, allocations: 16.28 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3852, allocations: 1.375 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3852, allocations: 4 kB / 0.5365 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3853, allocations: 3.938 kB / 0.5365 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.3857, allocations: 412.5 kB / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3857, allocations: 1.5 kB / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-05/0.3858, allocations: 7.406 kB / 0.537 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3858, allocations: 3.938 kB / 0.537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.3858, allocations: 6.859 kB / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3858, allocations: 0 / 0.537 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3858, allocations: 5.281 kB / 0.537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.386, allocations: 200.5 kB / 0.5372 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.3861, allocations: 88.55 kB / 0.5372 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3861, allocations: 6.094 kB / 0.5372 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.802e-05/0.3862, allocations: 1.312 kB / 0.5372 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.3862, allocations: 11.52 kB / 0.5373 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.3863, allocations: 3.344 kB / 0.5373 GB, free: 7.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.3864, allocations: 169.3 kB / 0.5374 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3864, allocations: 0 / 0.5374 GB, free: 7.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.3867, allocations: 21.44 kB / 0.5374 GB, free: 7.582 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.3882, allocations: 1.095 MB / 0.5385 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.3884, allocations: 61.06 kB / 0.5386 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3884, allocations: 5.094 kB / 0.5386 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.23e-05/0.3885, allocations: 24.83 kB / 0.5386 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.3888, allocations: 39.73 kB / 0.5386 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.3906, allocations: 1.721 MB / 0.5403 GB, free: 5.191 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.3909, allocations: 0.7122 MB / 0.541 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.386e-05/0.391, allocations: 17.73 kB / 0.541 GB, free: 4.469 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.3911, allocations: 39.27 kB / 0.5411 GB, free: 4.438 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3911, allocations: 1.312 kB / 0.5411 GB, free: 4.438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.4132, allocations: 3.59 MB / 0.5446 GB, free: 2.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.512/7.925, allocations: 8.312 kB / 0.5446 GB, free: 2.496 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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[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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time