Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002018/0.002018, allocations: 199.9 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.471/1.471, 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.223/0.223, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002412/0.002412, allocations: 87.83 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3359, allocations: 62.44 MB / 0.5307 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003338/0.3393, allocations: 1.737 MB / 0.5324 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.341, allocations: 1.018 MB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.971e-05/0.3411, allocations: 5.281 kB / 0.5334 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000301/0.3414, allocations: 48.5 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.3418, allocations: 92.06 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.342, allocations: 79.27 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.3422, allocations: 100.9 kB / 0.5337 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3423, allocations: 14.88 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.411e-05/0.3424, allocations: 38.91 kB / 0.5337 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.3425, allocations: 38.78 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3425, allocations: 4.125 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3426, allocations: 43.42 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.3427, allocations: 22.78 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.3428, allocations: 39.92 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.343, allocations: 127.2 kB / 0.534 GB, free: 10.69 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.343, allocations: 4 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.343, allocations: 1.375 kB / 0.534 GB, free: 10.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3431, allocations: 0 / 0.534 GB, free: 10.68 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.0006448/0.3437, allocations: 426.2 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3438, allocations: 9.625 kB / 0.5344 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.3438, allocations: 30.75 kB / 0.5345 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3439, allocations: 14.33 kB / 0.5345 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.3442, allocations: 220.6 kB / 0.5347 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3442, allocations: 5.75 kB / 0.5347 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3442, allocations: 6.688 kB / 0.5347 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3444, allocations: 54.05 kB / 0.5347 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3444, allocations: 3.984 kB / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3444, allocations: 1.375 kB / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3445, allocations: 0 / 0.5347 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.3445, allocations: 18.98 kB / 0.5348 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.345, allocations: 296.2 kB / 0.535 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.3451, allocations: 57.92 kB / 0.5351 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.3452, allocations: 21.11 kB / 0.5351 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.3452, allocations: 1.375 kB / 0.5351 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3454, allocations: 73.02 kB / 0.5352 GB, free: 9.453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.3454, allocations: 0 / 0.5352 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005645/0.346, allocations: 186.5 kB / 0.5354 GB, free: 9.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.3461, allocations: 52.38 kB / 0.5354 GB, free: 9.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3463, allocations: 213.3 kB / 0.5356 GB, free: 9.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3464, allocations: 29.7 kB / 0.5357 GB, free: 9.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.3464, allocations: 98.45 kB / 0.5357 GB, free: 8.996 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.3465, allocations: 26.45 kB / 0.5358 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.3465, allocations: 21.28 kB / 0.5358 GB, free: 8.953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.3467, allocations: 334.6 kB / 0.5361 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.772e-05/0.3468, allocations: 14.31 kB / 0.5361 GB, free: 8.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.3468, allocations: 36.39 kB / 0.5362 GB, free: 8.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.347, allocations: 62.58 kB / 0.5362 GB, free: 8.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.347, allocations: 0 / 0.5362 GB, free: 8.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002029/0.3472, allocations: 100.1 kB / 0.5363 GB, free: 8.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3472, allocations: 9.719 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3472, allocations: 1.125 kB / 0.5363 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3473, allocations: 9.047 kB / 0.5363 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.3474, allocations: 20.39 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3474, allocations: 1.156 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.3474, allocations: 10.09 kB / 0.5364 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3474, allocations: 2.219 kB / 0.5364 GB, free: 8.457 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.0001145/0.3476, allocations: 128.2 kB / 0.5365 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.3476, allocations: 13.62 kB / 0.5365 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.3476, allocations: 23.3 kB / 0.5365 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.3477, allocations: 1.406 kB / 0.5365 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3477, allocations: 0 / 0.5365 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3477, allocations: 5.219 kB / 0.5365 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005118/0.3482, allocations: 395.3 kB / 0.5369 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3482, allocations: 0 / 0.5369 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.347e-05/0.3482, allocations: 11.77 kB / 0.5369 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.3483, allocations: 5.438 kB / 0.5369 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3483, allocations: 9.406 kB / 0.5369 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3483, allocations: 5.125 kB / 0.5369 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3483, allocations: 1.688 kB / 0.5369 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.3485, allocations: 200 kB / 0.5371 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.3486, allocations: 88.64 kB / 0.5372 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.3486, allocations: 13.25 kB / 0.5372 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.3487, allocations: 6.906 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.3488, allocations: 3.094 kB / 0.5372 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.3488, allocations: 7.359 kB / 0.5372 GB, free: 7.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.3489, allocations: 162.9 kB / 0.5374 GB, free: 7.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3489, allocations: 0 / 0.5374 GB, free: 7.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.3492, allocations: 21.03 kB / 0.5374 GB, free: 7.484 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.002154/0.3514, allocations: 1.09 MB / 0.5385 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.3516, allocations: 61.64 kB / 0.5385 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3516, allocations: 0 / 0.5385 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.992e-05/0.3517, allocations: 30.17 kB / 0.5386 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.3521, allocations: 39.84 kB / 0.5386 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.3541, allocations: 1.69 MB / 0.5403 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/0.3545, allocations: 0.7154 MB / 0.541 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.307e-05/0.3546, allocations: 17.67 kB / 0.541 GB, free: 4.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.3547, allocations: 35.67 kB / 0.541 GB, free: 4.352 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3547, allocations: 0 / 0.541 GB, free: 4.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.3833, allocations: 3.513 MB / 0.5444 GB, free: 2.469 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.151/8.535, allocations: 12.19 kB / 0.5445 GB, free: 2.461 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)