Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 201.2 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.436/1.436, allocations: 227.4 MB / 247 MB, free: 10.49 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.2215/0.2215, allocations: 46.12 MB / 344.4 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.003267/0.003267, allocations: 80.09 kB / 481 MB, free: 4.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3371, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003042/0.3402, allocations: 1.738 MB / 0.5324 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.3426, allocations: 1.633 MB / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.3427, allocations: 0 / 0.534 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.343, allocations: 33.36 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.3434, allocations: 100.4 kB / 0.5341 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.3436, allocations: 78.97 kB / 0.5342 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.3437, allocations: 110.2 kB / 0.5343 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.3439, allocations: 14.88 kB / 0.5343 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.619e-05/0.3439, allocations: 44.28 kB / 0.5343 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3441, allocations: 46.89 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.3441, allocations: 9.5 kB / 0.5344 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.3443, allocations: 109.6 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.3444, allocations: 17.44 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.3445, allocations: 36.03 kB / 0.5346 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.3447, allocations: 166.3 kB / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3447, allocations: 0 / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3448, allocations: 0 / 0.5347 GB, free: 10.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3448, allocations: 1.375 kB / 0.5347 GB, free: 10.27 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.0005862/0.3454, allocations: 434.1 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.3454, allocations: 13.41 kB / 0.5351 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.3454, allocations: 32.09 kB / 0.5352 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.3455, allocations: 16.84 kB / 0.5352 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.3458, allocations: 211 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3458, allocations: 10.17 kB / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3458, allocations: 1.938 kB / 0.5354 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.346, allocations: 69.67 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.346, allocations: 1.25 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.346, allocations: 7.984 kB / 0.5355 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.346, allocations: 1.219 kB / 0.5355 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.3461, allocations: 18.48 kB / 0.5355 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.3465, allocations: 286 kB / 0.5358 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.3467, allocations: 57.08 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.3467, allocations: 21.58 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.3468, allocations: 1.25 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.3469, allocations: 69.78 kB / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.827e-06/0.3469, allocations: 0 / 0.5359 GB, free: 9.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005461/0.3475, allocations: 180.7 kB / 0.5361 GB, free: 8.914 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.3476, allocations: 83.27 kB / 0.5362 GB, free: 8.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.3477, allocations: 164.4 kB / 0.5363 GB, free: 8.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.3478, allocations: 30.89 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.3478, allocations: 96.62 kB / 0.5364 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.3479, allocations: 31.17 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.3479, allocations: 25.66 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3481, allocations: 321.1 kB / 0.5368 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.3481, allocations: 19.3 kB / 0.5368 GB, free: 8.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.3482, allocations: 57.12 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.3484, allocations: 51.03 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3484, allocations: 1.125 kB / 0.5369 GB, free: 8.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001983/0.3486, allocations: 110.4 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3486, allocations: 5.406 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3486, allocations: 1.312 kB / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3486, allocations: 0 / 0.537 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.3487, allocations: 21.77 kB / 0.5371 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3487, allocations: 5.531 kB / 0.5371 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.3488, allocations: 1.438 kB / 0.5371 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3488, allocations: 2.531 kB / 0.5371 GB, free: 8.004 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.0001027/0.3489, allocations: 125.3 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.3489, allocations: 8.172 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.349, allocations: 16.48 kB / 0.5372 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.349, allocations: 5.125 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.349, allocations: 1.125 kB / 0.5372 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.349, allocations: 4 kB / 0.5372 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.3495, allocations: 396.7 kB / 0.5376 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3495, allocations: 3.938 kB / 0.5376 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.3495, allocations: 12.45 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3495, allocations: 0 / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3495, allocations: 2.406 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3496, allocations: 1.062 kB / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3496, allocations: 0 / 0.5376 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.3498, allocations: 209.4 kB / 0.5378 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.3499, allocations: 87.5 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.3499, allocations: 9.359 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.35, allocations: 2.719 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.35, allocations: 2.688 kB / 0.5379 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.3501, allocations: 7.766 kB / 0.5379 GB, free: 7.168 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.3502, allocations: 131 kB / 0.538 GB, free: 7.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3502, allocations: 1.562 kB / 0.538 GB, free: 7.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.3505, allocations: 49.67 kB / 0.5381 GB, free: 7.047 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.002349/0.3529, allocations: 1.189 MB / 0.5393 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.3531, allocations: 57.88 kB / 0.5393 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3531, allocations: 1.656 kB / 0.5393 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.3531, allocations: 28.23 kB / 0.5393 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.3535, allocations: 42.11 kB / 0.5394 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.3553, allocations: 1.583 MB / 0.5409 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.3556, allocations: 0.7001 MB / 0.5416 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.458e-05/0.3557, allocations: 19.34 kB / 0.5416 GB, free: 3.941 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.607e-05/0.3558, allocations: 37.61 kB / 0.5417 GB, free: 3.914 MB / 398.1 MB Notification: Performance of SimCode: time 3.326e-06/0.3558, allocations: 0 / 0.5417 GB, free: 3.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.3825, allocations: 4.018 MB / 0.5456 GB, free: 1.695 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.593, allocations: 20.53 kB / 0.5456 GB, free: 1.684 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56_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_Test56.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)