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.001156/0.001156, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2331/0.2331, allocations: 46.1 MB / 344.2 MB, free: 11.55 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.002273/0.002273, allocations: 82.83 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1298, allocations: 62.44 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003781/0.1336, allocations: 1.738 MB / 482 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.1356, allocations: 1.013 MB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.191e-05/0.1357, allocations: 3.938 kB / 483 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.1361, allocations: 43.77 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.1364, allocations: 99.59 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.1366, allocations: 75.67 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1368, allocations: 107.7 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1369, allocations: 8 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.036e-05/0.137, allocations: 43.8 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.172e-05/0.1371, allocations: 35.78 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1371, allocations: 4 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1373, allocations: 47.92 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.023e-05/0.1373, allocations: 19.92 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.1374, allocations: 39.72 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.1376, allocations: 119.9 kB / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1376, allocations: 0 / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1376, allocations: 0 / 483.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1376, allocations: 0 / 483.6 MB, free: 1.707 MB / 350.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.000612/0.1383, allocations: 426.9 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1383, allocations: 8.031 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.1384, allocations: 34.75 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.1384, allocations: 16.69 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1387, allocations: 216 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1387, allocations: 384 / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.1388, allocations: 7.938 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.1389, allocations: 53.67 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1389, allocations: 0 / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.139, allocations: 7.984 kB / 484.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.139, allocations: 4 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.1391, allocations: 15.98 kB / 484.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.1395, allocations: 296.8 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1397, allocations: 50.69 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.1398, allocations: 28.83 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1398, allocations: 0 / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.14, allocations: 75.33 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.14, allocations: 0 / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006384/0.1407, allocations: 177.1 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.1408, allocations: 55.34 kB / 485 MB, free: 72 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.141, allocations: 214.3 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1411, allocations: 25.7 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1412, allocations: 100.1 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1413, allocations: 27.64 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.1413, allocations: 21.72 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1415, allocations: 326.8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.1416, allocations: 19.98 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-05/0.1417, allocations: 37.7 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1418, allocations: 69.62 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1418, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002151/0.1421, allocations: 93.5 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1421, allocations: 8 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1421, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1421, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1423, allocations: 23.92 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1423, allocations: 8.031 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.1423, allocations: 7.875 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1423, allocations: 4 kB / 486 MB, free: 15.05 MB / 366.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.0001273/0.1425, allocations: 125.8 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.1425, allocations: 12.09 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.597e-05/0.1426, allocations: 17.39 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1426, allocations: 7.938 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1426, allocations: 0 / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1426, allocations: 3.938 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.1432, allocations: 399.2 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1432, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.019e-05/0.1433, allocations: 11.98 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.1433, allocations: 3.938 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1433, allocations: 4 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1433, allocations: 384 / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/0.1433, allocations: 3.938 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/0.1436, allocations: 204.5 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.978e-05/0.1437, allocations: 88.92 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.1438, allocations: 15.92 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.1438, allocations: 4 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1439, allocations: 4 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.1439, allocations: 7.984 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.1441, allocations: 164.8 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.305e-06/0.1441, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002748/0.1444, allocations: 23.94 kB / 487.1 MB, free: 13.86 MB / 366.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.002292/0.1467, allocations: 1.098 MB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.1469, allocations: 55.92 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1469, allocations: 0 / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.391e-05/0.147, allocations: 31.92 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1474, allocations: 30.17 kB / 488.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.1493, allocations: 1.686 MB / 490 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1497, allocations: 0.7041 MB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.122e-05/0.1498, allocations: 20.84 kB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.425e-05/0.1499, allocations: 39.42 kB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1499, allocations: 0 / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.1783, allocations: 3.441 MB / 494.2 MB, free: 6.867 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.026/8.204, allocations: 15.78 kB / 494.2 MB, free: 6.852 MB / 366.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)