Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001449, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, 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.2624/0.2624, allocations: 46.12 MB / 344.3 MB, free: 11.5 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.002579/0.002579, allocations: 80.09 kB / 481 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3727, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003433/0.3761, allocations: 1.735 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.378, allocations: 1.017 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.322e-05/0.3781, allocations: 5.312 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.3784, allocations: 44.2 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.3788, allocations: 96.41 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.379, allocations: 78.92 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.3792, allocations: 104.9 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3793, allocations: 10.88 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.793e-05/0.3794, allocations: 42.91 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.439e-05/0.3795, allocations: 38.47 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3795, allocations: 5.344 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3796, allocations: 38.2 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.3797, allocations: 24.08 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.3798, allocations: 39.77 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.38, allocations: 122.8 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.38, allocations: 3.984 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.38, allocations: 1.5 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.38, allocations: 3.938 kB / 0.534 GB, free: 10.81 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.0006919/0.3807, allocations: 429 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3808, allocations: 9.844 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.3808, allocations: 32.03 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.3809, allocations: 14.08 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.3812, allocations: 224.6 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3813, allocations: 1.625 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.3813, allocations: 7.094 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.3815, allocations: 53.89 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3815, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3815, allocations: 5.125 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.3815, allocations: 0 / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.3816, allocations: 23.2 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.382, allocations: 292 kB / 0.535 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.3822, allocations: 61.45 kB / 0.5351 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.3822, allocations: 24.81 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3823, allocations: 5.094 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.3824, allocations: 69.77 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3825, allocations: 0 / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005866/0.383, allocations: 175.1 kB / 0.5354 GB, free: 9.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.3831, allocations: 56.66 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.3834, allocations: 211.7 kB / 0.5356 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3834, allocations: 31.02 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/0.3835, allocations: 102.2 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.3835, allocations: 22.59 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.3836, allocations: 24.59 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3837, allocations: 323 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.3838, allocations: 22.98 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.3839, allocations: 35.45 kB / 0.5362 GB, free: 8.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.384, allocations: 62.39 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.384, allocations: 1.375 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.3842, allocations: 102.8 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3842, allocations: 5.5 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3843, allocations: 1.375 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3843, allocations: 1.375 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.033e-05/0.3844, allocations: 20.3 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3844, allocations: 5.594 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.3844, allocations: 9.25 kB / 0.5364 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3845, allocations: 6.688 kB / 0.5364 GB, free: 8.582 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 (10): * Single equations (assignments): 10 * 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.0001163/0.3846, allocations: 128.8 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.3846, allocations: 13.41 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.3847, allocations: 14.91 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3847, allocations: 1.375 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.3847, allocations: 0 / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.3847, allocations: 9.297 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.3852, allocations: 394.5 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3852, allocations: 1.094 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.3853, allocations: 11.81 kB / 0.5369 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3853, allocations: 4.969 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.3853, allocations: 5.422 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3853, allocations: 1.078 kB / 0.5369 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.3853, allocations: 16.92 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.3856, allocations: 205.1 kB / 0.5371 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.3857, allocations: 84.31 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.3857, allocations: 6.062 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.3858, allocations: 5.047 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.3858, allocations: 8.234 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3859, allocations: 7.188 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.386, allocations: 163.2 kB / 0.5374 GB, free: 7.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.386, allocations: 0 / 0.5374 GB, free: 7.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3863, allocations: 24.3 kB / 0.5374 GB, free: 7.605 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 (8): * Single equations (assignments): 6 * 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.002279/0.3886, allocations: 1.092 MB / 0.5385 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.3889, allocations: 62.06 kB / 0.5385 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/0.3889, allocations: 0 / 0.5385 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.605e-05/0.389, allocations: 28.83 kB / 0.5386 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.3893, allocations: 36.98 kB / 0.5386 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.3914, allocations: 1.682 MB / 0.5402 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.3918, allocations: 0.7196 MB / 0.5409 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.3919, allocations: 17.84 kB / 0.541 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.512e-05/0.392, allocations: 38.45 kB / 0.541 GB, free: 4.477 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.392, allocations: 0 / 0.541 GB, free: 4.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.4185, allocations: 3.51 MB / 0.5444 GB, free: 2.598 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.485, allocations: 5.391 kB / 0.5444 GB, free: 2.594 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1)