Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 114.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, 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.2259/0.2259, allocations: 46.11 MB / 344.3 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.002931/0.002931, allocations: 79.88 kB / 481 MB, free: 4.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3515, allocations: 62.46 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.00385/0.3554, allocations: 1.686 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.3573, allocations: 0.9985 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3574, allocations: 1.375 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.3577, allocations: 57.62 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.3582, allocations: 99.14 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.3584, allocations: 65.62 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3586, allocations: 107.5 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.957e-05/0.3587, allocations: 12.36 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.304e-05/0.3588, allocations: 42.91 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/0.3589, allocations: 25.48 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.3589, allocations: 4.125 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.359, allocations: 36.48 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.3591, allocations: 30.22 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.046e-05/0.3591, allocations: 36 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.3594, allocations: 127.5 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3594, allocations: 1.219 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3594, allocations: 0 / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3594, allocations: 0 / 0.5339 GB, free: 10.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000638/0.3601, allocations: 445.7 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3601, allocations: 10.5 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.3602, allocations: 34.73 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3602, allocations: 11.45 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.3605, allocations: 219.8 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3605, allocations: 5.875 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3606, allocations: 5.688 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.3607, allocations: 50.45 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3607, allocations: 5.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3608, allocations: 3.938 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3608, allocations: 1.125 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.3608, allocations: 15.7 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002307/0.3611, allocations: 188.6 kB / 0.5349 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.3612, allocations: 54.73 kB / 0.5349 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.3613, allocations: 21.33 kB / 0.5349 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3613, allocations: 3.984 kB / 0.5349 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.3615, allocations: 68.52 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.3615, allocations: 0 / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002965/0.3618, allocations: 101.2 kB / 0.5351 GB, free: 9.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.3619, allocations: 52.78 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.3622, allocations: 274.7 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3622, allocations: 27.02 kB / 0.5354 GB, free: 9.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.3623, allocations: 111 kB / 0.5356 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.3623, allocations: 30.34 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.3624, allocations: 18.53 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3625, allocations: 327.8 kB / 0.5359 GB, free: 8.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.3626, allocations: 20.39 kB / 0.5359 GB, free: 8.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.969e-05/0.3627, allocations: 27.66 kB / 0.536 GB, free: 8.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.654e-05/0.3628, allocations: 43.58 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3628, allocations: 3.938 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/0.3629, allocations: 85.16 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.363, allocations: 5.5 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.363, allocations: 0 / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.363, allocations: 5.359 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.544e-05/0.3631, allocations: 8.25 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3631, allocations: 9.344 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.569e-05/0.3631, allocations: 6.703 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3632, allocations: 1.375 kB / 0.5361 GB, free: 8.738 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 (7): * Single equations (assignments): 7 * 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.0001881/0.3634, allocations: 144.8 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.3634, allocations: 14.78 kB / 0.5363 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.3634, allocations: 20.02 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3634, allocations: 1.375 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3634, allocations: 0 / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3635, allocations: 1.375 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/0.3636, allocations: 202.2 kB / 0.5365 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3637, allocations: 5.312 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.3637, allocations: 6.734 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3637, allocations: 0 / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3637, allocations: 1.688 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3637, allocations: 1.375 kB / 0.5365 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3637, allocations: 7.984 kB / 0.5365 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.3639, allocations: 119.2 kB / 0.5366 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.364, allocations: 89.2 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.364, allocations: 0 / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.3641, allocations: 1.406 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.3641, allocations: 10.42 kB / 0.5367 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3641, allocations: 6.594 kB / 0.5367 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.3643, allocations: 198.1 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3643, allocations: 1 kB / 0.5369 GB, free: 8.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.3647, allocations: 21.36 kB / 0.5369 GB, free: 7.996 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001859/0.3665, allocations: 0.9496 MB / 0.5379 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.3667, allocations: 39.8 kB / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3667, allocations: 0 / 0.5379 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/0.3668, allocations: 23.77 kB / 0.5379 GB, free: 7.215 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.3671, allocations: 36.42 kB / 0.538 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3692, allocations: 1.668 MB / 0.5396 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.3696, allocations: 0.7149 MB / 0.5403 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.3697, allocations: 9.125 kB / 0.5403 GB, free: 5.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.3698, allocations: 36.73 kB / 0.5403 GB, free: 5.055 MB / 398.1 MB Notification: Performance of SimCode: time 2.374e-06/0.3698, allocations: 4 kB / 0.5403 GB, free: 5.051 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.3982, allocations: 3.504 MB / 0.5438 GB, free: 3.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.209/8.607, allocations: 20.59 kB / 0.5438 GB, free: 3.164 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61_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_Test61.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)