Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001945/0.001945, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002391/0.002391, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, 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.2349/0.2349, allocations: 46.13 MB / 344.4 MB, free: 11.41 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.002236/0.002236, allocations: 83.86 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3603, allocations: 62.44 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003349/0.3636, allocations: 1.837 MB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3655, allocations: 1.087 MB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.472e-05/0.3656, allocations: 1.938 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.3662, allocations: 290.7 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000487/0.3667, allocations: 252.9 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.3669, allocations: 117.7 kB / 0.5342 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002993/0.3673, allocations: 260.2 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.587e-05/0.3673, allocations: 14.95 kB / 0.5344 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3675, allocations: 123.1 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.3677, allocations: 197.2 kB / 0.5347 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.3678, allocations: 5.844 kB / 0.5347 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.3679, allocations: 47.39 kB / 0.5348 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.3681, allocations: 140.7 kB / 0.5349 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.3682, allocations: 143.5 kB / 0.535 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.3687, allocations: 369.8 kB / 0.5354 GB, free: 9.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.3687, allocations: 4 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3687, allocations: 0 / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.3687, allocations: 3.938 kB / 0.5354 GB, free: 9.945 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.001033/0.3697, allocations: 0.748 MB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3698, allocations: 9.938 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.3698, allocations: 35.7 kB / 0.5362 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.3699, allocations: 50.33 kB / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.3705, allocations: 454.5 kB / 0.5367 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3706, allocations: 5.562 kB / 0.5367 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3706, allocations: 7.562 kB / 0.5367 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.3708, allocations: 91.5 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3708, allocations: 0 / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3709, allocations: 1.125 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3709, allocations: 1.344 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.371, allocations: 27.52 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.3714, allocations: 379.1 kB / 0.5371 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.3717, allocations: 106 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.814e-05/0.3718, allocations: 41.41 kB / 0.5373 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.3718, allocations: 5.156 kB / 0.5373 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.3721, allocations: 112.2 kB / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.3721, allocations: 0.75 kB / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004965/0.3726, allocations: 208.5 kB / 0.5376 GB, free: 8.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.3727, allocations: 83.08 kB / 0.5377 GB, free: 7.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.3739, allocations: 1.019 MB / 0.5387 GB, free: 7.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.3739, allocations: 31.89 kB / 0.5387 GB, free: 7.473 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.3741, allocations: 233.3 kB / 0.5389 GB, free: 7.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.3742, allocations: 32 kB / 0.539 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.3743, allocations: 27.59 kB / 0.539 GB, free: 7.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.3745, allocations: 368.9 kB / 0.5393 GB, free: 6.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3746, allocations: 31.52 kB / 0.5394 GB, free: 6.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3747, allocations: 66.2 kB / 0.5394 GB, free: 6.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.3749, allocations: 90.88 kB / 0.5395 GB, free: 6.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.3749, allocations: 3.938 kB / 0.5395 GB, free: 6.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003218/0.3752, allocations: 175 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3753, allocations: 5.5 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3753, allocations: 1.25 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3753, allocations: 1.719 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3754, allocations: 22.3 kB / 0.5397 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3754, allocations: 1.344 kB / 0.5397 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3755, allocations: 20.53 kB / 0.5397 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3756, allocations: 3.125 kB / 0.5397 GB, free: 6.602 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.0002182/0.3758, allocations: 228.9 kB / 0.54 GB, free: 6.438 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.3759, allocations: 49.77 kB / 0.54 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.491e-05/0.376, allocations: 62.42 kB / 0.5401 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.376, allocations: 1.156 kB / 0.5401 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.376, allocations: 1.094 kB / 0.5401 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.376, allocations: 1.156 kB / 0.5401 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.3764, allocations: 343.9 kB / 0.5404 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3764, allocations: 1.188 kB / 0.5404 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.3764, allocations: 6.781 kB / 0.5404 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.3764, allocations: 4 kB / 0.5404 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3765, allocations: 6.188 kB / 0.5404 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3765, allocations: 1.031 kB / 0.5404 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.3765, allocations: 4.906 kB / 0.5404 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.3768, allocations: 208.4 kB / 0.5406 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.377, allocations: 143.1 kB / 0.5408 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.377, allocations: 1.156 kB / 0.5408 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.332e-05/0.3771, allocations: 15.16 kB / 0.5408 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.3772, allocations: 8.422 kB / 0.5408 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.3772, allocations: 4.5 kB / 0.5408 GB, free: 5.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008532/0.3781, allocations: 0.7646 MB / 0.5415 GB, free: 5.406 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3781, allocations: 0 / 0.5415 GB, free: 5.406 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.3784, allocations: 44.09 kB / 0.5416 GB, free: 5.398 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.002109/0.3805, allocations: 1.039 MB / 0.5426 GB, free: 4.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.3808, allocations: 79.34 kB / 0.5427 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3808, allocations: 0 / 0.5427 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.381, allocations: 51.55 kB / 0.5427 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.3814, allocations: 73.81 kB / 0.5428 GB, free: 4.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/0.3872, allocations: 4.478 MB / 0.5472 GB, free: 392 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/0.3878, allocations: 0.8349 MB / 0.548 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.3879, allocations: 58.94 kB / 0.548 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.3882, allocations: 151.4 kB / 0.5482 GB, free: 15.32 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3882, allocations: 0 / 0.5482 GB, free: 15.32 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03232/0.4205, allocations: 8.945 MB / 0.5569 GB, free: 6.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.637/9.057, allocations: 15.69 kB / 0.5569 GB, free: 6.473 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)