Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001825/0.001826, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002157/0.002158, allocations: 200.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2303/0.2303, allocations: 46.12 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 79.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3685, allocations: 62.47 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003199/0.3717, allocations: 1.82 MB / 0.5325 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3735, allocations: 1.092 MB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.901e-05/0.3736, allocations: 10.03 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005052/0.3741, allocations: 303.2 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.3746, allocations: 259.6 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.3748, allocations: 105.5 kB / 0.5342 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.3752, allocations: 262.3 kB / 0.5344 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.224e-05/0.3752, allocations: 9.969 kB / 0.5344 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3754, allocations: 136 kB / 0.5346 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.3756, allocations: 191 kB / 0.5347 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.3757, allocations: 10.88 kB / 0.5348 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3758, allocations: 51.59 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.3759, allocations: 142.2 kB / 0.5349 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.3761, allocations: 150.7 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.3766, allocations: 376.5 kB / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3766, allocations: 0 / 0.5354 GB, free: 9.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3766, allocations: 5.25 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3766, allocations: 0 / 0.5354 GB, free: 9.969 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.001015/0.3776, allocations: 0.7589 MB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3777, allocations: 13.06 kB / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.3777, allocations: 35.94 kB / 0.5362 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.027e-05/0.3778, allocations: 51.02 kB / 0.5363 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/0.3784, allocations: 460.3 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3784, allocations: 2.469 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.3785, allocations: 11.2 kB / 0.5367 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.3787, allocations: 80.09 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3787, allocations: 4 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3787, allocations: 1.125 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.3787, allocations: 4.969 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3788, allocations: 39.48 kB / 0.5369 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.3793, allocations: 378.5 kB / 0.5372 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.3796, allocations: 117.6 kB / 0.5373 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.771e-05/0.3797, allocations: 37.48 kB / 0.5374 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3797, allocations: 1.25 kB / 0.5374 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.3799, allocations: 112 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.3799, allocations: 1.594 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000489/0.3804, allocations: 204.8 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.3805, allocations: 82.2 kB / 0.5378 GB, free: 7.977 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.3817, allocations: 1.05 MB / 0.5388 GB, free: 7.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3817, allocations: 25.7 kB / 0.5388 GB, free: 7.469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.3819, allocations: 238.5 kB / 0.539 GB, free: 7.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.382, allocations: 41.56 kB / 0.5391 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.382, allocations: 26.69 kB / 0.5391 GB, free: 7.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3822, allocations: 369.5 kB / 0.5394 GB, free: 6.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.66e-05/0.3823, allocations: 30.98 kB / 0.5395 GB, free: 6.836 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.3824, allocations: 54.08 kB / 0.5395 GB, free: 6.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.3826, allocations: 95 kB / 0.5396 GB, free: 6.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3827, allocations: 3.938 kB / 0.5396 GB, free: 6.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000309/0.383, allocations: 167.2 kB / 0.5398 GB, free: 6.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.383, allocations: 5.562 kB / 0.5398 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.383, allocations: 5.062 kB / 0.5398 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.383, allocations: 6.188 kB / 0.5398 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3832, allocations: 26.11 kB / 0.5398 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3832, allocations: 1.312 kB / 0.5398 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.949e-05/0.3833, allocations: 16.36 kB / 0.5398 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3833, allocations: 3.625 kB / 0.5398 GB, free: 6.59 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002215/0.3835, allocations: 230.1 kB / 0.5401 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.3836, allocations: 55.19 kB / 0.5401 GB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.3837, allocations: 58.86 kB / 0.5402 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3837, allocations: 1.938 kB / 0.5402 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3837, allocations: 1.531 kB / 0.5402 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3837, allocations: 4 kB / 0.5402 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.3841, allocations: 346.7 kB / 0.5405 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3841, allocations: 0 / 0.5405 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.3842, allocations: 14.86 kB / 0.5405 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3842, allocations: 5.031 kB / 0.5405 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3842, allocations: 2.25 kB / 0.5405 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3842, allocations: 1.094 kB / 0.5405 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3842, allocations: 1.219 kB / 0.5405 GB, free: 6.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.3846, allocations: 208.2 kB / 0.5407 GB, free: 5.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.3847, allocations: 138.9 kB / 0.5409 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.3848, allocations: 10.27 kB / 0.5409 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.3849, allocations: 3.438 kB / 0.5409 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.3849, allocations: 8.422 kB / 0.5409 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.3849, allocations: 8.5 kB / 0.5409 GB, free: 5.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008745/0.3858, allocations: 0.781 MB / 0.5417 GB, free: 5.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3858, allocations: 4 kB / 0.5417 GB, free: 5.387 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3861, allocations: 45.5 kB / 0.5417 GB, free: 5.379 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002085/0.3882, allocations: 1.047 MB / 0.5427 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002665/0.3885, allocations: 87.52 kB / 0.5428 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3885, allocations: 0 / 0.5428 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3886, allocations: 43.48 kB / 0.5428 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.3891, allocations: 63.05 kB / 0.5429 GB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005915/0.395, allocations: 4.566 MB / 0.5474 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.3956, allocations: 0.8504 MB / 0.5482 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.3957, allocations: 59.44 kB / 0.5483 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.3959, allocations: 151.4 kB / 0.5484 GB, free: 15.15 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3959, allocations: 0 / 0.5484 GB, free: 15.15 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.4312, allocations: 9.105 MB / 0.5573 GB, free: 6.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.689/9.12, allocations: 11.58 kB / 0.5573 GB, free: 6.148 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)