Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001241/0.001241, allocations: 122.1 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.001237/0.001237, allocations: 202 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.43/1.43, allocations: 227.4 MB / 247 MB, free: 10.46 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.2299/0.2299, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.003338/0.003339, allocations: 88.14 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3666, allocations: 62.44 MB / 0.5307 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003142/0.3698, allocations: 1.739 MB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.3716, allocations: 1.042 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.3717, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.3719, allocations: 40.81 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002938/0.3722, allocations: 94.38 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.3725, allocations: 79.2 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.3727, allocations: 111.5 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.3728, allocations: 7.188 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.652e-05/0.3729, allocations: 49.66 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.746e-05/0.3729, allocations: 41.33 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.373, allocations: 8.844 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.3732, allocations: 120 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.3732, allocations: 17.42 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.3733, allocations: 36.05 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.3736, allocations: 185 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3736, allocations: 0 / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3736, allocations: 0 / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3737, allocations: 0 / 0.5342 GB, free: 10.73 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006069/0.3743, allocations: 431.5 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3743, allocations: 9.625 kB / 0.5346 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.663e-05/0.3744, allocations: 40.11 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.3744, allocations: 9.016 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.3747, allocations: 215.7 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3747, allocations: 5.75 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.3748, allocations: 6.688 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3749, allocations: 69.08 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.375, allocations: 1.375 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.375, allocations: 0 / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.375, allocations: 1.375 kB / 0.5349 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.521e-05/0.3751, allocations: 22.98 kB / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.3754, allocations: 282.8 kB / 0.5352 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.3756, allocations: 67.36 kB / 0.5353 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.3757, allocations: 29.34 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3757, allocations: 1.375 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.3759, allocations: 71.89 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.572e-06/0.3759, allocations: 0 / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005805/0.3765, allocations: 208.9 kB / 0.5356 GB, free: 9.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.3766, allocations: 78.11 kB / 0.5356 GB, free: 9.273 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.3768, allocations: 168.5 kB / 0.5358 GB, free: 9.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.3768, allocations: 30.89 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.3769, allocations: 96.38 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.3769, allocations: 36.56 kB / 0.536 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.377, allocations: 30.41 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3771, allocations: 321.9 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-05/0.3772, allocations: 35.55 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-05/0.3773, allocations: 58.05 kB / 0.5364 GB, free: 8.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.3774, allocations: 80.39 kB / 0.5365 GB, free: 8.512 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3775, allocations: 4.031 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000252/0.3777, allocations: 119.9 kB / 0.5366 GB, free: 8.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3777, allocations: 9.719 kB / 0.5366 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3777, allocations: 0 / 0.5366 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3778, allocations: 1.188 kB / 0.5366 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.3779, allocations: 29.45 kB / 0.5366 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3779, allocations: 5.031 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.3779, allocations: 2.281 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.378, allocations: 3.344 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001054/0.3781, allocations: 128.7 kB / 0.5367 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.3781, allocations: 17.58 kB / 0.5368 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.041e-05/0.3782, allocations: 12.12 kB / 0.5368 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3782, allocations: 1.156 kB / 0.5368 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.3782, allocations: 9.047 kB / 0.5368 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3782, allocations: 0 / 0.5368 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005495/0.3787, allocations: 422.7 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3788, allocations: 8.844 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.3788, allocations: 9.875 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3788, allocations: 0.9375 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.3788, allocations: 14.14 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3788, allocations: 4.844 kB / 0.5372 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3789, allocations: 0 / 0.5372 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.3791, allocations: 211.9 kB / 0.5374 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.481e-05/0.3792, allocations: 96.61 kB / 0.5375 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.3792, allocations: 2.781 kB / 0.5375 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.3793, allocations: 1.438 kB / 0.5375 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3794, allocations: 12.33 kB / 0.5375 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.3794, allocations: 3.219 kB / 0.5375 GB, free: 7.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.3795, allocations: 128.3 kB / 0.5377 GB, free: 7.449 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3795, allocations: 0 / 0.5377 GB, free: 7.449 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.3798, allocations: 56.97 kB / 0.5377 GB, free: 7.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00251/0.3824, allocations: 1.207 MB / 0.5389 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.3826, allocations: 76.38 kB / 0.539 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3826, allocations: 1.125 kB / 0.539 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.969e-05/0.3827, allocations: 37.39 kB / 0.539 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3831, allocations: 29.61 kB / 0.539 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3853, allocations: 1.677 MB / 0.5407 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.3856, allocations: 0.7008 MB / 0.5414 GB, free: 4.277 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.692e-05/0.3857, allocations: 26.12 kB / 0.5414 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.3858, allocations: 41.2 kB / 0.5414 GB, free: 4.234 MB / 398.1 MB Notification: Performance of SimCode: time 2.044e-06/0.3858, allocations: 1.094 kB / 0.5414 GB, free: 4.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.4121, allocations: 4.236 MB / 0.5456 GB, free: 1.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.636, allocations: 9.094 kB / 0.5456 GB, free: 1.906 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)