Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.11 MB / 344.3 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 87.86 kB / 481 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.367, allocations: 62.44 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003913/0.371, allocations: 2.361 MB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.3735, allocations: 1.402 MB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.3737, allocations: 8.062 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006081/0.3743, allocations: 284.2 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006975/0.375, allocations: 341.9 kB / 0.535 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.3756, allocations: 212.7 kB / 0.5352 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000675/0.3762, allocations: 0.5542 MB / 0.5357 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.3764, allocations: 62.48 kB / 0.5358 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.3767, allocations: 240.3 kB / 0.536 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.3771, allocations: 270.3 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.3771, allocations: 18.84 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.3773, allocations: 55.27 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.3775, allocations: 108.2 kB / 0.5364 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.3777, allocations: 191.9 kB / 0.5366 GB, free: 8.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005592/0.3782, allocations: 426.4 kB / 0.537 GB, free: 8.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3782, allocations: 5.094 kB / 0.537 GB, free: 8.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3783, allocations: 0 / 0.537 GB, free: 8.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.393e-06/0.3783, allocations: 0 / 0.537 GB, free: 8.668 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001283/0.3796, allocations: 0.8103 MB / 0.5378 GB, free: 7.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3796, allocations: 9.25 kB / 0.5378 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.948e-05/0.3797, allocations: 47.39 kB / 0.5379 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.3798, allocations: 65.72 kB / 0.5379 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006974/0.3805, allocations: 430.5 kB / 0.5383 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.3805, allocations: 11.75 kB / 0.5384 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.3806, allocations: 20.8 kB / 0.5384 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004304/0.381, allocations: 199 kB / 0.5386 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.3811, allocations: 13.14 kB / 0.5386 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.3811, allocations: 5.344 kB / 0.5386 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3811, allocations: 4.531 kB / 0.5386 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.3814, allocations: 99.14 kB / 0.5387 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.3825, allocations: 0.8623 MB / 0.5395 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.3831, allocations: 288.2 kB / 0.5398 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.3834, allocations: 94.86 kB / 0.5399 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.3834, allocations: 12.59 kB / 0.5399 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004922/0.3839, allocations: 222.1 kB / 0.5401 GB, free: 5.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.023e-06/0.3839, allocations: 3.938 kB / 0.5401 GB, free: 5.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002378/0.3863, allocations: 1.033 MB / 0.5411 GB, free: 5.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.3864, allocations: 171.3 kB / 0.5413 GB, free: 5.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008675/0.3873, allocations: 0.6486 MB / 0.5419 GB, free: 4.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.3874, allocations: 38.42 kB / 0.542 GB, free: 4.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.3876, allocations: 234.6 kB / 0.5422 GB, free: 4.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3877, allocations: 137.7 kB / 0.5423 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.3879, allocations: 70.56 kB / 0.5424 GB, free: 4.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.3881, allocations: 370.5 kB / 0.5427 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.3883, allocations: 103.4 kB / 0.5428 GB, free: 3.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.3887, allocations: 183 kB / 0.543 GB, free: 3.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.3893, allocations: 305.7 kB / 0.5433 GB, free: 3.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3893, allocations: 0.9375 kB / 0.5433 GB, free: 3.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008119/0.3901, allocations: 410.6 kB / 0.5437 GB, free: 3.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.3901, allocations: 8.781 kB / 0.5437 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.3901, allocations: 6.547 kB / 0.5437 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.3902, allocations: 4.031 kB / 0.5437 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.3905, allocations: 84.31 kB / 0.5438 GB, free: 3.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.517e-05/0.3905, allocations: 8.266 kB / 0.5438 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.3907, allocations: 19.31 kB / 0.5438 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.3908, allocations: 21.39 kB / 0.5438 GB, free: 3.391 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002623/0.391, allocations: 208.2 kB / 0.544 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.783e-05/0.3911, allocations: 67.84 kB / 0.5441 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.3913, allocations: 63.62 kB / 0.5442 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3913, allocations: 5 kB / 0.5442 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.3913, allocations: 1.594 kB / 0.5442 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.926e-06/0.3913, allocations: 5.172 kB / 0.5442 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.3931, allocations: 1.28 MB / 0.5454 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.3931, allocations: 160 / 0.5454 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.3933, allocations: 59.91 kB / 0.5455 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.3933, allocations: 4 kB / 0.5455 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.3933, allocations: 15.94 kB / 0.5455 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.3933, allocations: 19.86 kB / 0.5455 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.3934, allocations: 0 / 0.5455 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.3944, allocations: 0.8243 MB / 0.5463 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.3945, allocations: 120.7 kB / 0.5464 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.058e-05/0.3946, allocations: 27.92 kB / 0.5465 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.3949, allocations: 15.98 kB / 0.5465 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.3951, allocations: 31.97 kB / 0.5465 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.3951, allocations: 19.98 kB / 0.5465 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005916/0.3957, allocations: 494.8 kB / 0.547 GB, free: 388 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3957, allocations: 0 / 0.547 GB, free: 388 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005721/0.3963, allocations: 79.94 kB / 0.5471 GB, free: 308 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002956/0.3993, allocations: 1.74 MB / 0.5488 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006963/0.4, allocations: 288.3 kB / 0.5491 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4, allocations: 0 / 0.5491 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.4003, allocations: 152.7 kB / 0.5492 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4014, allocations: 150.1 kB / 0.5493 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006299/0.4077, allocations: 4.533 MB / 0.5538 GB, free: 9.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/0.4084, allocations: 0.859 MB / 0.5546 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002924/0.4087, allocations: 88.12 kB / 0.5547 GB, free: 8.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.409, allocations: 191.3 kB / 0.5549 GB, free: 8.227 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.409, allocations: 0 / 0.5549 GB, free: 8.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.4454, allocations: 10.9 MB / 0.5655 GB, free: 13.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.005/9.45, allocations: 3.984 kB / 0.5655 GB, free: 13.45 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)