Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001249/0.001249, allocations: 121.2 kB / 17.78 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001311/0.001311, allocations: 199.8 kB / 18.73 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, 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.2243/0.2243, allocations: 46.12 MB / 344.3 MB, free: 11.47 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.003469/0.00347, allocations: 87.86 kB / 481 MB, free: 4.426 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3505, allocations: 62.44 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002998/0.3536, allocations: 1.73 MB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.3561, allocations: 1.621 MB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.004e-05/0.3562, allocations: 1.375 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.3565, allocations: 36.02 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003482/0.3569, allocations: 104.3 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.3571, allocations: 78.92 kB / 0.5342 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3573, allocations: 102.4 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3574, allocations: 14.86 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.129e-05/0.3575, allocations: 49.66 kB / 0.5343 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3576, allocations: 41.47 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.3577, allocations: 5.5 kB / 0.5344 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.3579, allocations: 111 kB / 0.5345 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.97e-05/0.3579, allocations: 20.03 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.358, allocations: 39.8 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.3583, allocations: 170.6 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3583, allocations: 1.094 kB / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3583, allocations: 0 / 0.5347 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3583, allocations: 0 / 0.5347 GB, free: 10.25 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.0005778/0.3589, allocations: 426.8 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.3589, allocations: 8.75 kB / 0.5351 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.359, allocations: 32 kB / 0.5351 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.499e-05/0.359, allocations: 21.08 kB / 0.5352 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.3593, allocations: 228 kB / 0.5354 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.3593, allocations: 1.25 kB / 0.5354 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.3594, allocations: 2.5 kB / 0.5354 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3595, allocations: 73.86 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3595, allocations: 0 / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3596, allocations: 1.281 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3596, allocations: 1.312 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.3597, allocations: 17.77 kB / 0.5355 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.3601, allocations: 293.1 kB / 0.5358 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3602, allocations: 54.19 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.517e-05/0.3603, allocations: 21.81 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.3603, allocations: 1.219 kB / 0.5358 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.3605, allocations: 73.42 kB / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.573e-06/0.3605, allocations: 0 / 0.5359 GB, free: 9.004 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005633/0.3611, allocations: 173.4 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.3612, allocations: 86.05 kB / 0.5361 GB, free: 8.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.3613, allocations: 164.7 kB / 0.5363 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3614, allocations: 25.7 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.37e-05/0.3614, allocations: 99.94 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.3615, allocations: 36.8 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.3615, allocations: 23.98 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3617, allocations: 322.9 kB / 0.5368 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.3617, allocations: 18.25 kB / 0.5368 GB, free: 8.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.3618, allocations: 40.69 kB / 0.5368 GB, free: 8.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3619, allocations: 67.83 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3619, allocations: 0 / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001737/0.3621, allocations: 90.97 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3622, allocations: 9.484 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3622, allocations: 1.453 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3622, allocations: 0 / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.3623, allocations: 21.34 kB / 0.537 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3623, allocations: 5.109 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.997e-05/0.3623, allocations: 6.469 kB / 0.537 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.3623, allocations: 7.203 kB / 0.537 GB, free: 7.992 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 9.605e-05/0.3625, allocations: 124.7 kB / 0.5372 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3625, allocations: 9.109 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.641e-05/0.3625, allocations: 12.56 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3625, allocations: 13.27 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3625, allocations: 0 / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3626, allocations: 192 / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/0.363, allocations: 405.1 kB / 0.5376 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.363, allocations: 7.875 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.3631, allocations: 7.812 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3631, allocations: 1.438 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.3631, allocations: 1.312 kB / 0.5376 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3631, allocations: 5.094 kB / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3631, allocations: 0 / 0.5376 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.3634, allocations: 204.1 kB / 0.5378 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.3634, allocations: 92.69 kB / 0.5379 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.3634, allocations: 1.094 kB / 0.5379 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.3635, allocations: 2.25 kB / 0.5379 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.3636, allocations: 11.33 kB / 0.5379 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3636, allocations: 4.344 kB / 0.5379 GB, free: 7.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001119/0.3637, allocations: 126.5 kB / 0.538 GB, free: 7.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3637, allocations: 1.125 kB / 0.538 GB, free: 7.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002963/0.364, allocations: 45.77 kB / 0.5381 GB, free: 7.035 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.002303/0.3663, allocations: 1.197 MB / 0.5392 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.3665, allocations: 58.22 kB / 0.5393 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3665, allocations: 1.094 kB / 0.5393 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.3666, allocations: 32.86 kB / 0.5393 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.367, allocations: 30.14 kB / 0.5394 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.3687, allocations: 1.592 MB / 0.5409 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3691, allocations: 0.6982 MB / 0.5416 GB, free: 3.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.527e-05/0.3691, allocations: 20.17 kB / 0.5416 GB, free: 3.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.3692, allocations: 37.97 kB / 0.5416 GB, free: 3.898 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3692, allocations: 4 kB / 0.5417 GB, free: 3.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.3947, allocations: 4.023 MB / 0.5456 GB, free: 1.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.573, allocations: 21.77 kB / 0.5456 GB, free: 1.66 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)