Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 104.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.001338/0.001338, 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.6/1.6, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2512/0.2512, allocations: 46.12 MB / 344.2 MB, free: 11.57 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.002323/0.002324, allocations: 86.64 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1203, allocations: 62.44 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003419/0.1238, allocations: 1.923 MB / 482.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001997/0.1258, allocations: 1.134 MB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.126, allocations: 0 / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004556/0.1264, allocations: 219.4 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.1269, allocations: 223.2 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1272, allocations: 111.6 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.1275, allocations: 251.3 kB / 484.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1276, allocations: 37.66 kB / 484.1 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.1278, allocations: 115.5 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.128, allocations: 155.5 kB / 484.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1281, allocations: 8 kB / 484.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1282, allocations: 71.89 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.1283, allocations: 51.78 kB / 484.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1284, allocations: 91.34 kB / 484.6 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.1288, allocations: 239.3 kB / 484.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1288, allocations: 3.938 kB / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1288, allocations: 0 / 484.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1288, allocations: 4 kB / 484.8 MB, free: 0.5039 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008458/0.1296, allocations: 0.572 MB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1297, allocations: 8.031 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.1297, allocations: 38.75 kB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.1298, allocations: 24.66 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000374/0.1302, allocations: 288 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1302, allocations: 4.375 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.1303, allocations: 11.94 kB / 485.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.1305, allocations: 118.2 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1305, allocations: 4 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1305, allocations: 0 / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.1306, allocations: 7.984 kB / 485.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1307, allocations: 47.91 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.1313, allocations: 472.8 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003993/0.1317, allocations: 125.1 kB / 486.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.1319, allocations: 41.83 kB / 486.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.1319, allocations: 4.156 kB / 486.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003221/0.1323, allocations: 128.9 kB / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.1323, allocations: 0 / 486.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001416/0.1337, allocations: 0.5006 MB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/0.1338, allocations: 77.11 kB / 487.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.1343, allocations: 456.4 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.1344, allocations: 29.7 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1345, allocations: 156.5 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.1346, allocations: 67.09 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.1346, allocations: 41.7 kB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1348, allocations: 346.8 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.135, allocations: 63.91 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.1351, allocations: 87.39 kB / 488.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.1355, allocations: 163.5 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1355, allocations: 4 kB / 488.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004162/0.1359, allocations: 233.1 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1359, allocations: 8 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1359, allocations: 3.984 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.136, allocations: 0 / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.1361, allocations: 43.92 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1361, allocations: 4 kB / 488.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.4e-05/0.1362, allocations: 8 kB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.1363, allocations: 7.984 kB / 488.9 MB, free: 12.07 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000172/0.1364, allocations: 170.3 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.1365, allocations: 47.39 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.677e-05/0.1366, allocations: 38.81 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1366, allocations: 4 kB / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1366, allocations: 0 / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1366, allocations: 0 / 489.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009947/0.1376, allocations: 0.735 MB / 489.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.1376, allocations: 4 kB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.1377, allocations: 27.98 kB / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1377, allocations: 0 / 490 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.1378, allocations: 8 kB / 490 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.047e-05/0.1378, allocations: 12.05 kB / 490 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1378, allocations: 7.938 kB / 490 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005081/0.1383, allocations: 420.7 kB / 490.4 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.1384, allocations: 108.7 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.1385, allocations: 8 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1386, allocations: 8 kB / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.1387, allocations: 23.91 kB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.1387, allocations: 15.94 kB / 490.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000391/0.1391, allocations: 331 kB / 490.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1391, allocations: 0 / 490.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003807/0.1395, allocations: 51.98 kB / 490.9 MB, free: 9.961 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002894/0.1424, allocations: 1.354 MB / 492.3 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.1429, allocations: 168 kB / 492.5 MB, free: 8.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1429, allocations: 3.938 kB / 492.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.1431, allocations: 79.84 kB / 492.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.1437, allocations: 71.36 kB / 492.6 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.1474, allocations: 2.889 MB / 495.5 MB, free: 5.426 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.1479, allocations: 0.7908 MB / 496.3 MB, free: 4.609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.1481, allocations: 37.92 kB / 496.3 MB, free: 4.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1482, allocations: 99.39 kB / 496.4 MB, free: 4.473 MB / 366.1 MB Notification: Performance of SimCode: time 8.91e-07/0.1482, allocations: 0 / 496.4 MB, free: 4.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.1766, allocations: 6.326 MB / 0.491 GB, free: 14.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.2, allocations: 3.781 kB / 0.491 GB, free: 14.24 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1)