Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, 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.2421/0.2421, allocations: 46.11 MB / 344.3 MB, free: 11.48 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.0037/0.0037, allocations: 75.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3432, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003005/0.3462, allocations: 1.838 MB / 0.5325 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.3487, allocations: 1.689 MB / 0.5341 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.3488, allocations: 9.312 kB / 0.5341 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.3491, allocations: 57.38 kB / 0.5342 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.3495, allocations: 137.7 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.3497, allocations: 101 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.35, allocations: 207.7 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.605e-05/0.3501, allocations: 19.27 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.3502, allocations: 75.48 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.3504, allocations: 91.31 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.3505, allocations: 9.969 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.3507, allocations: 114.8 kB / 0.5349 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.3508, allocations: 35.67 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.82e-05/0.3509, allocations: 66.45 kB / 0.535 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.3513, allocations: 223 kB / 0.5352 GB, free: 9.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3513, allocations: 0 / 0.5352 GB, free: 9.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3513, allocations: 0 / 0.5352 GB, free: 9.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3513, allocations: 1.281 kB / 0.5352 GB, free: 9.883 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008278/0.3521, allocations: 0.5013 MB / 0.5357 GB, free: 9.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3522, allocations: 9.781 kB / 0.5357 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.59e-05/0.3523, allocations: 35.78 kB / 0.5357 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.3523, allocations: 17.91 kB / 0.5357 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.3527, allocations: 254.2 kB / 0.536 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3527, allocations: 7.125 kB / 0.536 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3528, allocations: 6.688 kB / 0.536 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.353, allocations: 107 kB / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.353, allocations: 0 / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.353, allocations: 1.375 kB / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.353, allocations: 1.375 kB / 0.5361 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3532, allocations: 36.41 kB / 0.5361 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.3534, allocations: 217.9 kB / 0.5364 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3537, allocations: 109.2 kB / 0.5365 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.3538, allocations: 41.98 kB / 0.5365 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.3538, allocations: 1.281 kB / 0.5365 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.3541, allocations: 108.4 kB / 0.5366 GB, free: 8.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.3541, allocations: 0 / 0.5366 GB, free: 8.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004525/0.3545, allocations: 171.8 kB / 0.5368 GB, free: 8.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/0.3546, allocations: 130.7 kB / 0.5369 GB, free: 8.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.3549, allocations: 242.4 kB / 0.5371 GB, free: 8.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.355, allocations: 31.17 kB / 0.5371 GB, free: 8.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.355, allocations: 123.4 kB / 0.5373 GB, free: 7.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.3551, allocations: 28.56 kB / 0.5373 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.3552, allocations: 36.3 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3553, allocations: 330.6 kB / 0.5376 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.639e-05/0.3554, allocations: 27.77 kB / 0.5377 GB, free: 7.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3555, allocations: 78.33 kB / 0.5377 GB, free: 7.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3557, allocations: 89.94 kB / 0.5378 GB, free: 7.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3558, allocations: 5.031 kB / 0.5378 GB, free: 7.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002737/0.356, allocations: 133.5 kB / 0.538 GB, free: 7.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3561, allocations: 9.438 kB / 0.538 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3561, allocations: 1.188 kB / 0.538 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.3561, allocations: 2.188 kB / 0.538 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3562, allocations: 24.64 kB / 0.538 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.3562, allocations: 2.219 kB / 0.538 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.542e-05/0.3563, allocations: 12.27 kB / 0.538 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3563, allocations: 8.312 kB / 0.538 GB, free: 7.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001305/0.3565, allocations: 136.8 kB / 0.5382 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.3565, allocations: 17.31 kB / 0.5382 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.3566, allocations: 23.8 kB / 0.5382 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3566, allocations: 1.094 kB / 0.5382 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3566, allocations: 1.125 kB / 0.5382 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3566, allocations: 0 / 0.5382 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.3568, allocations: 232.1 kB / 0.5384 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3568, allocations: 0.875 kB / 0.5384 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.3569, allocations: 9.875 kB / 0.5384 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3569, allocations: 1.344 kB / 0.5384 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3569, allocations: 6.312 kB / 0.5384 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3569, allocations: 1.375 kB / 0.5384 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3569, allocations: 4 kB / 0.5384 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.3572, allocations: 175.2 kB / 0.5386 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.3573, allocations: 93.89 kB / 0.5387 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.3574, allocations: 2.125 kB / 0.5387 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.3574, allocations: 12.45 kB / 0.5387 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3575, allocations: 7.547 kB / 0.5387 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3575, allocations: 12.28 kB / 0.5387 GB, free: 6.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.3577, allocations: 180.1 kB / 0.5389 GB, free: 6.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3577, allocations: 3.938 kB / 0.5389 GB, free: 6.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.358, allocations: 57.33 kB / 0.539 GB, free: 6.445 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002276/0.3603, allocations: 1.097 MB / 0.54 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002809/0.3606, allocations: 87.2 kB / 0.5401 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3606, allocations: 3.938 kB / 0.5401 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3607, allocations: 35.55 kB / 0.5401 GB, free: 5.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3611, allocations: 63.8 kB / 0.5402 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.3637, allocations: 1.879 MB / 0.542 GB, free: 3.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.3641, allocations: 0.7313 MB / 0.5428 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.3642, allocations: 35.66 kB / 0.5428 GB, free: 3.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.3643, allocations: 55.59 kB / 0.5428 GB, free: 3.211 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3643, allocations: 0 / 0.5428 GB, free: 3.211 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.3928, allocations: 5.301 MB / 0.548 GB, free: 15.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.636, allocations: 16.33 kB / 0.548 GB, free: 15.61 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1)