Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2417/0.2417, allocations: 46.11 MB / 344.2 MB, free: 11.58 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.002197/0.002197, allocations: 85.25 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.127, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003213/0.1302, allocations: 1.826 MB / 482 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1321, allocations: 1.091 MB / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.1322, allocations: 0 / 483.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005156/0.1328, allocations: 315.3 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004738/0.1333, allocations: 263.2 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1335, allocations: 103.6 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.1338, allocations: 255.4 kB / 484.1 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.1339, allocations: 17.66 kB / 484.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.1341, allocations: 131.5 kB / 484.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.1343, allocations: 199.4 kB / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.1343, allocations: 8 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1345, allocations: 47.91 kB / 484.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.1346, allocations: 135.6 kB / 484.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1348, allocations: 150.8 kB / 484.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.1352, allocations: 371 kB / 485.1 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1352, allocations: 0 / 485.1 MB, free: 252 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1352, allocations: 0 / 485.1 MB, free: 252 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1352, allocations: 0 / 485.1 MB, free: 252 kB / 350.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.001034/0.1363, allocations: 0.7463 MB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1363, allocations: 8.031 kB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.1364, allocations: 38.73 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.1364, allocations: 52.28 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.137, allocations: 451.8 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1371, allocations: 4.375 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1371, allocations: 3.938 kB / 486.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.1373, allocations: 91.3 kB / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1373, allocations: 0 / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1373, allocations: 0 / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1373, allocations: 0 / 486.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1374, allocations: 31.98 kB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.1379, allocations: 378.4 kB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1381, allocations: 109.1 kB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.682e-05/0.1383, allocations: 41.7 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1383, allocations: 4 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002802/0.1386, allocations: 109 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1386, allocations: 0 / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004852/0.1391, allocations: 200.9 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.1391, allocations: 81.11 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.1403, allocations: 1.058 MB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1404, allocations: 29.7 kB / 488.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1406, allocations: 236.1 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.1406, allocations: 23.72 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.1407, allocations: 33.64 kB / 488.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.1409, allocations: 370.8 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.141, allocations: 27.98 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1411, allocations: 63.28 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1413, allocations: 87.92 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1413, allocations: 11.88 kB / 489.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003158/0.1416, allocations: 172.8 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1417, allocations: 4 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1417, allocations: 0 / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1417, allocations: 4 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1418, allocations: 19.98 kB / 489.5 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1418, allocations: 7.938 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.586e-05/0.1419, allocations: 11.94 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1419, allocations: 8.062 kB / 489.6 MB, free: 11.48 MB / 366.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.0002324/0.1422, allocations: 225.7 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.622e-05/0.1423, allocations: 51.33 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.571e-05/0.1424, allocations: 60.14 kB / 489.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1424, allocations: 4 kB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.1424, allocations: 0 / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1424, allocations: 3.984 kB / 489.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.1427, allocations: 341.4 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1427, allocations: 0 / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.1428, allocations: 12 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1428, allocations: 0 / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1428, allocations: 8 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1428, allocations: 3.938 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1428, allocations: 3.984 kB / 490.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.1432, allocations: 205.3 kB / 490.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.1433, allocations: 144.4 kB / 490.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.1434, allocations: 4 kB / 490.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/0.1435, allocations: 7.984 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.1435, allocations: 4 kB / 490.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.1436, allocations: 7.984 kB / 490.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008712/0.1444, allocations: 0.7878 MB / 491.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1444, allocations: 0 / 491.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.1447, allocations: 44 kB / 491.4 MB, free: 9.484 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.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.002012/0.1468, allocations: 1.053 MB / 492.5 MB, free: 8.539 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002617/0.147, allocations: 83.91 kB / 492.6 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.147, allocations: 0 / 492.6 MB, free: 8.457 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1472, allocations: 48.05 kB / 492.6 MB, free: 8.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1476, allocations: 70.94 kB / 492.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006213/0.1538, allocations: 4.682 MB / 497.4 MB, free: 3.559 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.1544, allocations: 0.8427 MB / 498.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.1545, allocations: 66.92 kB / 498.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.1548, allocations: 151.4 kB / 498.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of SimCode: time 2.745e-06/0.1548, allocations: 0 / 498.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.1893, allocations: 8.928 MB / 0.4955 GB, free: 9.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.324, allocations: 17.75 kB / 0.4955 GB, free: 9.621 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)