Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001816, allocations: 208.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.498/1.498, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.231/0.231, allocations: 46.11 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.002448/0.002448, allocations: 85.09 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1251, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003266/0.1284, allocations: 1.732 MB / 481.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1303, allocations: 1.021 MB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.908e-05/0.1304, allocations: 0 / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.1308, allocations: 43.77 kB / 483 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.1313, allocations: 95.59 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.1317, allocations: 79.67 kB / 483.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.1319, allocations: 99.69 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.132, allocations: 8 kB / 483.3 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.1321, allocations: 47.72 kB / 483.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.408e-05/0.1322, allocations: 39.78 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1322, allocations: 4 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1324, allocations: 47.98 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.1324, allocations: 15.92 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.793e-05/0.1325, allocations: 31.75 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.1327, allocations: 119.9 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1327, allocations: 0 / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1327, allocations: 0 / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1327, allocations: 0 / 483.6 MB, free: 1.73 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.0007616/0.1335, allocations: 418.9 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.1336, allocations: 12.03 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.1337, allocations: 38.73 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.1337, allocations: 12.84 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.1341, allocations: 212.7 kB / 484.3 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1341, allocations: 4.375 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1341, allocations: 3.938 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1343, allocations: 53.67 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.1344, allocations: 3.906 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1344, allocations: 7.984 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1344, allocations: 3.938 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1345, allocations: 15.98 kB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.135, allocations: 288.9 kB / 484.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.1353, allocations: 58.67 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.791e-05/0.1354, allocations: 20.8 kB / 484.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1354, allocations: 3.984 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.1357, allocations: 71.39 kB / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.1357, allocations: 0 / 484.8 MB, free: 360 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007606/0.1365, allocations: 173.2 kB / 485 MB, free: 180 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.1366, allocations: 55.41 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.1369, allocations: 202.2 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1369, allocations: 25.7 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.1371, allocations: 104.1 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.1371, allocations: 27.7 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.1372, allocations: 25.66 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1374, allocations: 322.8 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.545e-05/0.1375, allocations: 23.98 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1376, allocations: 33.7 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1378, allocations: 61.66 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1379, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003102/0.1382, allocations: 109.4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.1382, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1382, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1382, allocations: 4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1384, allocations: 16.36 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1384, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.019e-05/0.1385, allocations: 11.94 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.1385, allocations: 4 kB / 486 MB, free: 15.1 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.0001449/0.1387, allocations: 132.2 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1387, allocations: 11.84 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.425e-05/0.1388, allocations: 13.41 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1388, allocations: 4 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1388, allocations: 3.938 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.1389, allocations: 7.922 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000706/0.1396, allocations: 399.3 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.1396, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.007e-05/0.1397, allocations: 11.94 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1397, allocations: 3.938 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.1397, allocations: 4 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.671e-05/0.1397, allocations: 3.984 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1397, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.1401, allocations: 204.5 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.1402, allocations: 88.92 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.1402, allocations: 3.938 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1404, allocations: 4 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.1404, allocations: 11.92 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.1405, allocations: 4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.1407, allocations: 152.2 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1407, allocations: 0 / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004469/0.1411, allocations: 16 kB / 487 MB, free: 13.94 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.002134/0.1433, allocations: 1.095 MB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1435, allocations: 67.91 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1435, allocations: 0 / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.1436, allocations: 27.92 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.144, allocations: 42.34 kB / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.1459, allocations: 1.644 MB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1462, allocations: 0.708 MB / 490.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.844e-05/0.1463, allocations: 25.17 kB / 490.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.1464, allocations: 35.42 kB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1464, allocations: 0 / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.1717, allocations: 3.381 MB / 494 MB, free: 7.023 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.935/8.106, allocations: 6.531 kB / 494.1 MB, free: 7.02 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30_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_Test30.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)