Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 118.8 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.001326/0.001326, allocations: 198 kB / 18.73 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.476/1.476, allocations: 227.4 MB / 247 MB, free: 10.39 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.2284/0.2284, allocations: 46.13 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.002286/0.002286, allocations: 79.88 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3311, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.004535/0.3357, allocations: 1.733 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.3382, allocations: 1.022 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.3384, allocations: 1.594 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.3388, allocations: 44.64 kB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004199/0.3392, allocations: 94.8 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.3395, allocations: 80.28 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.3398, allocations: 104.6 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.34, allocations: 15.27 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3401, allocations: 39.16 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.704e-05/0.3402, allocations: 34.36 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3402, allocations: 8.125 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.3404, allocations: 43.47 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-05/0.3404, allocations: 18.8 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/0.3405, allocations: 33.38 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.3409, allocations: 129.7 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3409, allocations: 1.375 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3409, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.3409, 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.0007469/0.3417, allocations: 430.2 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.3417, allocations: 13.62 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.3418, allocations: 34.73 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.3419, allocations: 10.39 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.3423, allocations: 222 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3423, allocations: 5.734 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.3423, allocations: 5.312 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3425, allocations: 57.98 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3426, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3426, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3426, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.368e-05/0.3427, allocations: 21.61 kB / 0.5348 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.3432, allocations: 292.2 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.3434, allocations: 57.86 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.367e-05/0.3435, allocations: 25.09 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3435, allocations: 5.375 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.3437, allocations: 77.06 kB / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3437, allocations: 0 / 0.5352 GB, free: 9.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006621/0.3444, allocations: 178.3 kB / 0.5354 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.3444, allocations: 52.78 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.3447, allocations: 208 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.3448, allocations: 30.73 kB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.3449, allocations: 105.9 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.3449, allocations: 19.33 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.345, allocations: 25.11 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3452, allocations: 326.6 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.413e-05/0.3453, allocations: 23.27 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.873e-05/0.3454, allocations: 39.55 kB / 0.5362 GB, free: 8.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.3456, allocations: 54.53 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3456, allocations: 0 / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002529/0.3458, allocations: 111.9 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.3459, allocations: 5.594 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3459, allocations: 1.062 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3459, allocations: 1.125 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.346, allocations: 16.42 kB / 0.5363 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.346, allocations: 1.25 kB / 0.5364 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.8e-05/0.3461, allocations: 14.12 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3461, allocations: 7.281 kB / 0.5364 GB, free: 8.57 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.0001394/0.3463, allocations: 135.1 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.3463, allocations: 13.66 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.591e-05/0.3464, allocations: 14.19 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3464, allocations: 2.094 kB / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3464, allocations: 0 / 0.5365 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3464, allocations: 3.938 kB / 0.5365 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/0.347, allocations: 400.2 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.347, allocations: 0 / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.3471, allocations: 7.969 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.3471, allocations: 5.031 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3471, allocations: 5.156 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3471, allocations: 5.078 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.3471, allocations: 1.531 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.3475, allocations: 208.4 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/0.3475, allocations: 84.47 kB / 0.5372 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.3476, allocations: 14.09 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.3477, allocations: 2.219 kB / 0.5372 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.3478, allocations: 7.016 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3478, allocations: 3.125 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.348, allocations: 163.8 kB / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.348, allocations: 0 / 0.5374 GB, free: 7.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.3483, allocations: 28.98 kB / 0.5374 GB, free: 7.598 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.002163/0.3505, allocations: 1.09 MB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.3507, allocations: 62.27 kB / 0.5386 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3507, allocations: 0 / 0.5386 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.3508, allocations: 24.75 kB / 0.5386 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3511, allocations: 37 kB / 0.5386 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.3531, allocations: 1.681 MB / 0.5403 GB, free: 5.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.3534, allocations: 0.7116 MB / 0.5409 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.096e-05/0.3535, allocations: 25.44 kB / 0.541 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.3536, allocations: 36.11 kB / 0.541 GB, free: 4.473 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3536, allocations: 0 / 0.541 GB, free: 4.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.3792, allocations: 3.51 MB / 0.5444 GB, free: 2.594 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.486, allocations: 9.062 kB / 0.5444 GB, free: 2.586 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43_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_Test43.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1)