Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 206 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247 MB, free: 10.41 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.2187/0.2187, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.00253/0.00253, allocations: 83.86 kB / 481 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.349, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003711/0.3528, allocations: 1.829 MB / 0.5325 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.3548, allocations: 1.086 MB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.908e-05/0.3549, allocations: 6.125 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006155/0.3556, allocations: 290.7 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.3561, allocations: 261.4 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.3565, allocations: 108.4 kB / 0.5342 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003969/0.3569, allocations: 261.5 kB / 0.5344 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.087e-05/0.357, allocations: 13.92 kB / 0.5344 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.3572, allocations: 132 kB / 0.5345 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.3574, allocations: 188.4 kB / 0.5347 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.3575, allocations: 6.375 kB / 0.5347 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3576, allocations: 46.86 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.3578, allocations: 141.4 kB / 0.5349 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.358, allocations: 146.6 kB / 0.535 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004655/0.3584, allocations: 369.3 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3585, allocations: 1.188 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.95e-06/0.3585, allocations: 0 / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.3585, allocations: 3.938 kB / 0.5354 GB, free: 9.977 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.00102/0.3595, allocations: 0.7515 MB / 0.5361 GB, free: 9.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3595, allocations: 9.844 kB / 0.5361 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.282e-05/0.3596, allocations: 40.8 kB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.37e-05/0.3597, allocations: 50.27 kB / 0.5362 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/0.3604, allocations: 453.9 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3604, allocations: 1.75 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.3604, allocations: 6.688 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.3607, allocations: 87.7 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3607, allocations: 0 / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3607, allocations: 1.156 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3607, allocations: 1.188 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.3608, allocations: 31.67 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.3613, allocations: 376.5 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.3616, allocations: 108.5 kB / 0.5373 GB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3617, allocations: 50.77 kB / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.3617, allocations: 1.125 kB / 0.5373 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.362, allocations: 107.6 kB / 0.5374 GB, free: 8.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.362, allocations: 0 / 0.5374 GB, free: 8.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005025/0.3625, allocations: 209.3 kB / 0.5376 GB, free: 8.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.3626, allocations: 78.11 kB / 0.5377 GB, free: 8.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.3637, allocations: 1.02 MB / 0.5387 GB, free: 7.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3637, allocations: 31.58 kB / 0.5387 GB, free: 7.504 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.3639, allocations: 236.2 kB / 0.5389 GB, free: 7.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.364, allocations: 29.47 kB / 0.539 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.364, allocations: 25.59 kB / 0.539 GB, free: 7.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3642, allocations: 378 kB / 0.5393 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.3643, allocations: 26.73 kB / 0.5394 GB, free: 6.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.3644, allocations: 59.08 kB / 0.5394 GB, free: 6.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.3646, allocations: 93.88 kB / 0.5395 GB, free: 6.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3647, allocations: 7.938 kB / 0.5395 GB, free: 6.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003115/0.365, allocations: 170.9 kB / 0.5397 GB, free: 6.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.365, allocations: 6.688 kB / 0.5397 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.365, allocations: 0 / 0.5397 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.365, allocations: 1.438 kB / 0.5397 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3651, allocations: 25.86 kB / 0.5397 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3652, allocations: 2.188 kB / 0.5397 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.3653, allocations: 16.09 kB / 0.5397 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3653, allocations: 8.125 kB / 0.5397 GB, free: 6.629 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.0002161/0.3655, allocations: 224 kB / 0.54 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.3656, allocations: 50.8 kB / 0.54 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.373e-05/0.3657, allocations: 58.47 kB / 0.5401 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.3657, allocations: 4.922 kB / 0.5401 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3657, allocations: 1.188 kB / 0.5401 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3657, allocations: 0 / 0.5401 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.3661, allocations: 345.1 kB / 0.5404 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3661, allocations: 0 / 0.5404 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.3661, allocations: 10.53 kB / 0.5404 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3661, allocations: 1.094 kB / 0.5404 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3662, allocations: 10.34 kB / 0.5404 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3662, allocations: 5.25 kB / 0.5404 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3662, allocations: 0.9688 kB / 0.5404 GB, free: 6.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003511/0.3665, allocations: 208.2 kB / 0.5406 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.3667, allocations: 138.4 kB / 0.5408 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.3667, allocations: 6.25 kB / 0.5408 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.3668, allocations: 7.188 kB / 0.5408 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.3669, allocations: 12.02 kB / 0.5408 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3669, allocations: 4.531 kB / 0.5408 GB, free: 5.793 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008406/0.3677, allocations: 0.7639 MB / 0.5415 GB, free: 5.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3677, allocations: 96 / 0.5415 GB, free: 5.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.368, allocations: 48.44 kB / 0.5416 GB, free: 5.426 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.002043/0.3701, allocations: 1.047 MB / 0.5426 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.3703, allocations: 75.31 kB / 0.5427 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3704, allocations: 0 / 0.5427 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.3705, allocations: 51 kB / 0.5427 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.3709, allocations: 69.94 kB / 0.5428 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/0.3766, allocations: 4.475 MB / 0.5472 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.3773, allocations: 0.8388 MB / 0.548 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.3774, allocations: 58.94 kB / 0.548 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.3776, allocations: 151.4 kB / 0.5482 GB, free: 15.35 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3776, allocations: 0 / 0.5482 GB, free: 15.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.4101, allocations: 8.941 MB / 0.5569 GB, free: 6.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.813/9.223, allocations: 15.62 kB / 0.5569 GB, free: 6.504 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)