Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 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.Test70,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_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.001783/0.001784, allocations: 117.6 kB / 17.78 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 204.7 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, 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.223/0.223, allocations: 46.13 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 83.88 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3434, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003116/0.3465, allocations: 1.828 MB / 0.5325 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3485, allocations: 1.091 MB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.144e-05/0.3486, allocations: 9.031 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.3491, allocations: 304.2 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004838/0.3496, allocations: 260.8 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.3499, allocations: 104.3 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.3502, allocations: 257.9 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.3503, allocations: 13.92 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.3505, allocations: 129.5 kB / 0.5346 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.3507, allocations: 198.9 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.3507, allocations: 10.88 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.3509, allocations: 46.77 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.351, allocations: 146.7 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.3512, allocations: 150.6 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.3517, allocations: 373 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3517, allocations: 0 / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3517, allocations: 0 / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3517, allocations: 1.062 kB / 0.5355 GB, free: 9.949 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.001048/0.3528, allocations: 0.7583 MB / 0.5362 GB, free: 9.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3528, allocations: 13.22 kB / 0.5362 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.3529, allocations: 36.98 kB / 0.5362 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.588e-05/0.353, allocations: 58.27 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006856/0.3536, allocations: 457.3 kB / 0.5367 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3537, allocations: 1.5 kB / 0.5367 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3537, allocations: 7.062 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3539, allocations: 88.56 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3539, allocations: 4 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3539, allocations: 1.719 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.354, allocations: 0 / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3541, allocations: 35.53 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.3545, allocations: 378.6 kB / 0.5372 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.3549, allocations: 113.5 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.355, allocations: 42.56 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.355, allocations: 4.625 kB / 0.5374 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/0.3553, allocations: 119.5 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 7.113e-06/0.3553, allocations: 1.438 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005646/0.3559, allocations: 196.7 kB / 0.5377 GB, free: 8.051 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.356, allocations: 82.8 kB / 0.5378 GB, free: 7.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.3574, allocations: 1.053 MB / 0.5388 GB, free: 7.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3575, allocations: 26.89 kB / 0.5388 GB, free: 7.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.3577, allocations: 238.6 kB / 0.539 GB, free: 7.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.3578, allocations: 32.28 kB / 0.5391 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.3579, allocations: 30.89 kB / 0.5391 GB, free: 7.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.3581, allocations: 365.8 kB / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.3582, allocations: 35.8 kB / 0.5395 GB, free: 6.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.3583, allocations: 54.28 kB / 0.5395 GB, free: 6.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.3586, allocations: 94.95 kB / 0.5396 GB, free: 6.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.3586, allocations: 3.938 kB / 0.5396 GB, free: 6.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003584/0.359, allocations: 171.9 kB / 0.5398 GB, free: 6.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.359, allocations: 5.125 kB / 0.5398 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.359, allocations: 1.062 kB / 0.5398 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.359, allocations: 1.094 kB / 0.5398 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.3592, allocations: 34.52 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3592, allocations: 5.359 kB / 0.5398 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.3593, allocations: 7.875 kB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.3593, allocations: 4.875 kB / 0.5399 GB, free: 6.566 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.0002981/0.3596, allocations: 225.9 kB / 0.5401 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.3597, allocations: 58.69 kB / 0.5401 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.3599, allocations: 59.36 kB / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3599, allocations: 2.469 kB / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.3599, allocations: 3.984 kB / 0.5402 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3599, allocations: 5 kB / 0.5402 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.3604, allocations: 349.7 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3604, allocations: 1.062 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.755e-05/0.3605, allocations: 7.156 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3605, allocations: 0 / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.3605, allocations: 6.297 kB / 0.5405 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.3605, allocations: 1.156 kB / 0.5405 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3605, allocations: 1.188 kB / 0.5405 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.3609, allocations: 216.8 kB / 0.5407 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.3611, allocations: 142.5 kB / 0.5409 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.3612, allocations: 2.156 kB / 0.5409 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.3613, allocations: 11.14 kB / 0.5409 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.3613, allocations: 8.469 kB / 0.5409 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.3614, allocations: 8.359 kB / 0.5409 GB, free: 5.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001021/0.3624, allocations: 0.7812 MB / 0.5417 GB, free: 5.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3624, allocations: 4 kB / 0.5417 GB, free: 5.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000313/0.3627, allocations: 45.31 kB / 0.5417 GB, free: 5.344 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.002239/0.365, allocations: 1.038 MB / 0.5427 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.3652, allocations: 82.03 kB / 0.5428 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3652, allocations: 1.156 kB / 0.5428 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.3654, allocations: 43.09 kB / 0.5429 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.3658, allocations: 75.19 kB / 0.5429 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006206/0.3721, allocations: 4.572 MB / 0.5474 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006698/0.3728, allocations: 0.8543 MB / 0.5482 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.3729, allocations: 54.94 kB / 0.5483 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.3731, allocations: 147.4 kB / 0.5484 GB, free: 15.09 MB / 414.1 MB Notification: Performance of SimCode: time 2.726e-06/0.3731, allocations: 0 / 0.5484 GB, free: 15.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.4066, allocations: 9.097 MB / 0.5573 GB, free: 6.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.697/9.104, allocations: 14.8 kB / 0.5573 GB, free: 6.074 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)