Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001402/0.001402, allocations: 122.2 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.00131/0.00131, 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.468/1.468, 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.2226/0.2226, allocations: 46.13 MB / 344.4 MB, free: 11.43 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.002345/0.002345, allocations: 76.11 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3329, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003078/0.3361, allocations: 1.734 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3377, allocations: 1.021 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.3378, allocations: 1.344 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.3381, allocations: 41.17 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.3384, allocations: 90.66 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.3386, allocations: 78.91 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.3388, allocations: 109.1 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3389, allocations: 15.06 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.933e-05/0.339, allocations: 44.28 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.753e-05/0.3391, allocations: 29.77 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.3391, allocations: 7.297 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.3392, allocations: 40.98 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.3393, allocations: 17.48 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.3393, allocations: 31.53 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.3396, allocations: 124.3 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3396, allocations: 1.25 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3396, allocations: 0 / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.3396, allocations: 4 kB / 0.534 GB, free: 10.79 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.0005772/0.3402, allocations: 415.4 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3402, allocations: 10.09 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.3403, allocations: 40.8 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.3403, allocations: 12.66 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.3406, allocations: 203.6 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3406, allocations: 6.281 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3407, allocations: 5.844 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3408, allocations: 61.36 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3408, allocations: 1.312 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.3409, allocations: 0 / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3409, allocations: 1.156 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.058e-05/0.341, allocations: 17.95 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.3414, allocations: 286.9 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.3416, allocations: 73.56 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.3416, allocations: 17.8 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.3417, allocations: 1.5 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.3418, allocations: 64.17 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3418, allocations: 1.375 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000534/0.3424, allocations: 180.9 kB / 0.5353 GB, free: 9.469 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.3424, allocations: 56.78 kB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.3426, allocations: 190.1 kB / 0.5356 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3427, allocations: 27.08 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.3427, allocations: 104.2 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3428, allocations: 15.98 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.3428, allocations: 28.58 kB / 0.5357 GB, free: 9.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.343, allocations: 321.6 kB / 0.536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.766e-05/0.343, allocations: 19 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.018e-05/0.3431, allocations: 47.33 kB / 0.5361 GB, free: 8.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.3433, allocations: 54.45 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3433, allocations: 1.375 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001868/0.3435, allocations: 106.8 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3435, allocations: 9.484 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3435, allocations: 0 / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3435, allocations: 5.406 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.864e-05/0.3436, allocations: 13.75 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3436, allocations: 1.375 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.514e-05/0.3437, allocations: 9.25 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3437, allocations: 6.734 kB / 0.5363 GB, free: 8.59 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.000107/0.3438, allocations: 126 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.3438, allocations: 9.234 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.3439, allocations: 17.89 kB / 0.5364 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3439, allocations: 5.062 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3439, allocations: 1 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3439, allocations: 3.938 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.3444, allocations: 389.5 kB / 0.5368 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.3444, allocations: 1.125 kB / 0.5368 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.3444, allocations: 12.14 kB / 0.5368 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3444, allocations: 7.875 kB / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.3444, allocations: 2.938 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3444, allocations: 0 / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3445, allocations: 9.516 kB / 0.5369 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.3447, allocations: 207.8 kB / 0.5371 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.3448, allocations: 88.2 kB / 0.5371 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3448, allocations: 10.19 kB / 0.5372 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.3449, allocations: 5.266 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.3449, allocations: 3.625 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.345, allocations: 8.156 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.3451, allocations: 139.3 kB / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3451, allocations: 0 / 0.5373 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.3453, allocations: 20.59 kB / 0.5373 GB, free: 7.633 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.002113/0.3475, allocations: 1.091 MB / 0.5384 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3477, allocations: 53.94 kB / 0.5384 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3477, allocations: 0 / 0.5384 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.3478, allocations: 37.7 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.3481, allocations: 29.5 kB / 0.5385 GB, free: 6.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.3499, allocations: 1.635 MB / 0.5401 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3503, allocations: 0.7054 MB / 0.5408 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.234e-05/0.3504, allocations: 18.17 kB / 0.5408 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.3504, allocations: 35.33 kB / 0.5408 GB, free: 4.531 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3505, allocations: 0 / 0.5408 GB, free: 4.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.3747, allocations: 3.403 MB / 0.5442 GB, free: 2.699 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.505, allocations: 12.7 kB / 0.5442 GB, free: 2.691 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1)