Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247 MB, free: 10.42 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.2358/0.2358, 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.002429/0.00243, allocations: 79.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3477, allocations: 62.44 MB / 0.5307 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003407/0.3512, allocations: 1.768 MB / 0.5324 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.3531, allocations: 1.036 MB / 0.5334 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.3532, allocations: 1.375 kB / 0.5334 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003675/0.3536, allocations: 107.2 kB / 0.5335 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000379/0.354, allocations: 128.5 kB / 0.5337 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.3542, allocations: 84.88 kB / 0.5337 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.3545, allocations: 137.1 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3546, allocations: 20.39 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3547, allocations: 65.88 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3549, allocations: 72.69 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.3549, allocations: 9.438 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.355, allocations: 61.23 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.445e-05/0.3551, allocations: 30.91 kB / 0.5341 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.172e-05/0.3552, allocations: 50.61 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.3554, allocations: 164.7 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3554, allocations: 3.938 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3554, allocations: 0 / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3555, allocations: 0 / 0.5343 GB, free: 10.49 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006443/0.3561, allocations: 471.5 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3562, allocations: 9.625 kB / 0.5348 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.3562, allocations: 37.5 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.3563, allocations: 15.72 kB / 0.5348 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.3566, allocations: 227 kB / 0.5351 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.3566, allocations: 1.75 kB / 0.5351 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.3567, allocations: 12.06 kB / 0.5351 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.3569, allocations: 78.2 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3569, allocations: 7.953 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3569, allocations: 1.375 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3569, allocations: 1.375 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.3571, allocations: 35.22 kB / 0.5352 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.3575, allocations: 330.5 kB / 0.5355 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.3578, allocations: 78.39 kB / 0.5356 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.915e-05/0.3579, allocations: 30.22 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3579, allocations: 1.344 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.3581, allocations: 77.75 kB / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3581, allocations: 0 / 0.5357 GB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009454/0.3591, allocations: 307.9 kB / 0.536 GB, free: 8.992 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.3592, allocations: 60.7 kB / 0.536 GB, free: 8.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.3595, allocations: 262.9 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3596, allocations: 27.08 kB / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.3597, allocations: 116.6 kB / 0.5364 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.085e-05/0.3597, allocations: 50.62 kB / 0.5365 GB, free: 8.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.3598, allocations: 27.75 kB / 0.5365 GB, free: 8.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.36, allocations: 335.9 kB / 0.5368 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.891e-05/0.3601, allocations: 39.73 kB / 0.5369 GB, free: 8.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.3602, allocations: 57.67 kB / 0.5369 GB, free: 8.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.3604, allocations: 100.2 kB / 0.537 GB, free: 8.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3604, allocations: 0 / 0.537 GB, free: 8.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003138/0.3608, allocations: 161.7 kB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.3608, allocations: 7.656 kB / 0.5372 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.3608, allocations: 5.266 kB / 0.5372 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.3608, allocations: 5.594 kB / 0.5372 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.3609, allocations: 24.81 kB / 0.5372 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3609, allocations: 5.234 kB / 0.5372 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.361, allocations: 10.47 kB / 0.5372 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.361, allocations: 4.125 kB / 0.5372 GB, free: 7.977 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 (16): * Single equations (assignments): 16 * 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.0001401/0.3612, allocations: 133.6 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.3612, allocations: 19.8 kB / 0.5374 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.782e-05/0.3613, allocations: 30.52 kB / 0.5374 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3613, allocations: 1.562 kB / 0.5374 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3613, allocations: 5.344 kB / 0.5374 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3613, allocations: 0 / 0.5374 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007305/0.362, allocations: 0.5004 MB / 0.5379 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3621, allocations: 5.109 kB / 0.5379 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.3621, allocations: 16.19 kB / 0.5379 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.3621, allocations: 1 kB / 0.5379 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.3622, allocations: 7.219 kB / 0.5379 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.3622, allocations: 9.141 kB / 0.5379 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3622, allocations: 1.062 kB / 0.5379 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.3625, allocations: 263.5 kB / 0.5382 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.3626, allocations: 93.39 kB / 0.5383 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.3627, allocations: 3.344 kB / 0.5383 GB, free: 7.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.3628, allocations: 10.28 kB / 0.5383 GB, free: 7.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.3628, allocations: 9.641 kB / 0.5383 GB, free: 7.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.3628, allocations: 5.688 kB / 0.5383 GB, free: 7.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002061/0.363, allocations: 199.7 kB / 0.5385 GB, free: 6.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.363, allocations: 288 / 0.5385 GB, free: 6.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.3633, allocations: 31.97 kB / 0.5385 GB, free: 6.883 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002609/0.366, allocations: 1.209 MB / 0.5397 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3662, allocations: 106.9 kB / 0.5398 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3662, allocations: 0 / 0.5398 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.3664, allocations: 50.92 kB / 0.5398 GB, free: 5.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.3667, allocations: 45.11 kB / 0.5399 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.3693, allocations: 2.004 MB / 0.5418 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.3697, allocations: 0.7261 MB / 0.5426 GB, free: 3.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.002e-05/0.3698, allocations: 32.19 kB / 0.5426 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.3699, allocations: 52.2 kB / 0.5426 GB, free: 3.484 MB / 398.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3699, allocations: 0 / 0.5426 GB, free: 3.484 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.3961, allocations: 4.351 MB / 0.5469 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.397, allocations: 7.453 kB / 0.5469 GB, free: 0.7812 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1)