Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.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.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001273/0.001273, allocations: 103.9 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.001341/0.001341, allocations: 210.4 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.492/1.492, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2422/0.2422, allocations: 46.11 MB / 344.2 MB, free: 11.61 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.002179/0.002179, allocations: 83.48 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1222, allocations: 62.45 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003531/0.1258, allocations: 1.738 MB / 482 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.1284, allocations: 1.616 MB / 483.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.357e-05/0.1285, allocations: 0 / 483.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.1288, allocations: 39.77 kB / 483.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.1292, allocations: 111.5 kB / 483.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1294, allocations: 75.67 kB / 483.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.1296, allocations: 103.7 kB / 483.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.763e-05/0.1297, allocations: 11.98 kB / 483.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.1298, allocations: 43.8 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.13, allocations: 47.7 kB / 484 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.13, allocations: 8 kB / 484 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001998/0.1302, allocations: 99.94 kB / 484.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.1303, allocations: 23.92 kB / 484.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.1303, allocations: 39.72 kB / 484.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1306, allocations: 167.8 kB / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1306, allocations: 0 / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1306, allocations: 0 / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1307, allocations: 0 / 484.3 MB, free: 1.043 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.0006335/0.1313, allocations: 423 kB / 484.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1313, allocations: 12.03 kB / 484.7 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.1314, allocations: 38.73 kB / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.1315, allocations: 12.84 kB / 484.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1317, allocations: 219.9 kB / 485 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1317, allocations: 0 / 485 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1318, allocations: 4 kB / 485 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.1319, allocations: 63.39 kB / 485.1 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1319, allocations: 4 kB / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.132, allocations: 0 / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.132, allocations: 0 / 485.1 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.553e-05/0.1321, allocations: 27.98 kB / 485.1 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.1325, allocations: 296.8 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.1327, allocations: 50.69 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.061e-05/0.1328, allocations: 24.84 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.1328, allocations: 0 / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.133, allocations: 79.27 kB / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.133, allocations: 0 / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006135/0.1336, allocations: 173.2 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.1337, allocations: 84.98 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1339, allocations: 162.5 kB / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1339, allocations: 25.7 kB / 486 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.134, allocations: 100.1 kB / 486.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1341, allocations: 23.66 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.1341, allocations: 29.7 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1343, allocations: 322.8 kB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.1343, allocations: 23.94 kB / 486.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.1344, allocations: 42.55 kB / 486.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1345, allocations: 69.66 kB / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1346, allocations: 0 / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001991/0.1348, allocations: 97.58 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1348, allocations: 8 kB / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1348, allocations: 0 / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1348, allocations: 0 / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.1349, allocations: 19.88 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1349, allocations: 0 / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.192e-05/0.135, allocations: 7.984 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.135, allocations: 8.031 kB / 486.7 MB, free: 14.38 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.0001065/0.1351, allocations: 117.8 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.1351, allocations: 15.81 kB / 486.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.206e-05/0.1352, allocations: 16.7 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1352, allocations: 3.938 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1352, allocations: 0 / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1352, allocations: 0 / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.1357, allocations: 395.3 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1357, allocations: 7.938 kB / 487.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.1358, allocations: 4.375 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1358, allocations: 4 kB / 487.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.1358, allocations: 4 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.1358, allocations: 11.92 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1358, allocations: 4 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.1361, allocations: 196.3 kB / 487.5 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.1361, allocations: 85.14 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.1362, allocations: 8 kB / 487.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.1362, allocations: 7.922 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.1363, allocations: 4 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1363, allocations: 4 kB / 487.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1364, allocations: 126.3 kB / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1364, allocations: 0 / 487.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.1368, allocations: 59.92 kB / 487.8 MB, free: 13.22 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.002669/0.1394, allocations: 1.176 MB / 489 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.1398, allocations: 63.91 kB / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1398, allocations: 0 / 489 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.571e-05/0.1399, allocations: 31.92 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1403, allocations: 38.45 kB / 489.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.1425, allocations: 1.577 MB / 490.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.1429, allocations: 0.7051 MB / 491.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.358e-05/0.143, allocations: 12.89 kB / 491.4 MB, free: 9.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1431, allocations: 39.41 kB / 491.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1431, allocations: 0 / 491.4 MB, free: 9.633 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.173, allocations: 3.957 MB / 495.4 MB, free: 5.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.249, allocations: 11.08 kB / 495.4 MB, free: 5.754 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89_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_Test89.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)