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.001369/0.001369, allocations: 104.5 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.001372/0.001372, 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.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2458/0.2458, allocations: 46.11 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.002299/0.002299, allocations: 84.72 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1308, allocations: 62.46 MB / 480.2 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003809/0.1347, allocations: 1.727 MB / 481.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.1376, allocations: 1.623 MB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.217e-05/0.1377, allocations: 3.938 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.1381, allocations: 35.77 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003427/0.1384, allocations: 95.61 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1387, allocations: 87.66 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.1389, allocations: 107.7 kB / 483.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.139, allocations: 8 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1391, allocations: 47.72 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.1394, allocations: 47.77 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1394, allocations: 4 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.1396, allocations: 103.9 kB / 484.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.717e-05/0.1397, allocations: 23.84 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.695e-05/0.1398, allocations: 39.75 kB / 484.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.1401, allocations: 167.8 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1401, allocations: 0 / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1401, allocations: 0 / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.1401, allocations: 0 / 484.3 MB, free: 0.9844 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.0007474/0.1409, allocations: 427 kB / 484.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1409, allocations: 8.031 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.141, allocations: 38.69 kB / 484.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.1411, allocations: 8.844 kB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1413, allocations: 223.4 kB / 485 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1414, allocations: 4 kB / 485 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.1414, allocations: 4 kB / 485 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1416, allocations: 67.38 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1416, allocations: 0 / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1416, allocations: 0 / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1416, allocations: 4 kB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.769e-05/0.1417, allocations: 19.92 kB / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.1422, allocations: 288.9 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.1424, allocations: 58.66 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.835e-05/0.1424, allocations: 20.86 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1425, allocations: 4 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.1427, allocations: 75.31 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1427, allocations: 0 / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006464/0.1434, allocations: 177.1 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.1435, allocations: 85.05 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1437, allocations: 161.5 kB / 486 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1437, allocations: 33.69 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.1438, allocations: 92.14 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.1439, allocations: 35.62 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.1439, allocations: 25.72 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1441, allocations: 322.8 kB / 486.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.1442, allocations: 15.98 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.1443, allocations: 42.56 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1444, allocations: 65.62 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1444, allocations: 4 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002147/0.1446, allocations: 101.5 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1447, allocations: 4.188 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1447, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1447, allocations: 7.938 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1448, allocations: 19.92 kB / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.1448, allocations: 0 / 486.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.1449, allocations: 4 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1449, allocations: 4 kB / 486.7 MB, free: 14.33 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.0001298/0.145, allocations: 121.9 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.1451, allocations: 11.81 kB / 486.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.1451, allocations: 16.7 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1451, allocations: 7.938 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1451, allocations: 0 / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1452, allocations: 0 / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000545/0.1457, allocations: 395.3 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1457, allocations: 3.938 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.1458, allocations: 15.92 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.1458, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1458, allocations: 4.375 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1458, allocations: 0 / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1458, allocations: 0 / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.1461, allocations: 208.3 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.1462, allocations: 88.95 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.1462, allocations: 11.98 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.293e-05/0.1463, allocations: 0 / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.1463, allocations: 4 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.1464, allocations: 11.92 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.1465, allocations: 123.2 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1465, allocations: 0 / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.1468, allocations: 51.98 kB / 487.8 MB, free: 13.16 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.002512/0.1493, allocations: 1.177 MB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.1496, allocations: 63.91 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1496, allocations: 0 / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/0.1497, allocations: 27.92 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.1501, allocations: 35.77 kB / 489.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.1523, allocations: 1.581 MB / 490.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1528, allocations: 0.7012 MB / 491.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.674e-05/0.1529, allocations: 20.88 kB / 491.4 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.705e-05/0.153, allocations: 35.42 kB / 491.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.153, allocations: 0 / 491.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.1821, allocations: 3.94 MB / 495.4 MB, free: 5.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.255, allocations: 25.05 kB / 495.4 MB, free: 5.699 MB / 366.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)