Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001614/0.001619, 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.001844/0.001844, 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.507/1.507, 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.2339/0.2339, 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.002199/0.002199, allocations: 87.72 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.13, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003719/0.1338, allocations: 1.837 MB / 482 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.1366, allocations: 1.693 MB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.1367, allocations: 11.94 kB / 483.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.137, allocations: 43.7 kB / 483.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.1374, allocations: 143.4 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.1377, allocations: 103.6 kB / 484 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.138, allocations: 203.4 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.1381, allocations: 13.62 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.1382, allocations: 83.62 kB / 484.3 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.1385, allocations: 83.61 kB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.1385, allocations: 12 kB / 484.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002153/0.1387, allocations: 103.9 kB / 484.5 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.832e-05/0.1388, allocations: 43.83 kB / 484.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.775e-05/0.1389, allocations: 63.53 kB / 484.6 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.1393, allocations: 219.7 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1393, allocations: 0 / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1393, allocations: 0 / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1393, allocations: 0 / 484.8 MB, free: 0.4922 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00084/0.1401, allocations: 498.7 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1402, allocations: 16.03 kB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.1402, allocations: 38.73 kB / 485.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.1403, allocations: 20.66 kB / 485.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.1406, allocations: 248.9 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1407, allocations: 12.36 kB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1407, allocations: 3.938 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.1409, allocations: 101 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1409, allocations: 0 / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.141, allocations: 3.984 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.141, allocations: 4 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1411, allocations: 31.97 kB / 485.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002564/0.1414, allocations: 218.5 kB / 486 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003116/0.1417, allocations: 117 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.1418, allocations: 37.7 kB / 486.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1418, allocations: 3.984 kB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/0.1422, allocations: 113 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1422, allocations: 0 / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004813/0.1427, allocations: 169.6 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.499e-05/0.1428, allocations: 128.5 kB / 486.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.1431, allocations: 240.2 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1431, allocations: 25.7 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.087e-05/0.1432, allocations: 120.1 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-05/0.1433, allocations: 35.62 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.1433, allocations: 29.7 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1435, allocations: 330.8 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.918e-05/0.1436, allocations: 23.98 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.1437, allocations: 89.62 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1439, allocations: 79.36 kB / 487.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1439, allocations: 7.938 kB / 487.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002971/0.1442, allocations: 141.3 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1443, allocations: 4 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1443, allocations: 4.094 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1443, allocations: 4 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1444, allocations: 16 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1444, allocations: 7.922 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/0.1445, allocations: 8 kB / 487.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1446, allocations: 8 kB / 487.7 MB, free: 13.29 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001334/0.1447, allocations: 134.2 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.301e-05/0.1447, allocations: 19.72 kB / 487.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.1448, allocations: 20.98 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1448, allocations: 4 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1448, allocations: 0 / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1448, allocations: 4 kB / 487.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.1451, allocations: 229.5 kB / 488.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1451, allocations: 0 / 488.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.1451, allocations: 4 kB / 488.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1451, allocations: 4 kB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1451, allocations: 3.984 kB / 488.1 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.259e-06/0.1451, allocations: 11.88 kB / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1451, allocations: 0 / 488.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.1455, allocations: 173.6 kB / 488.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.1456, allocations: 92.91 kB / 488.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.1456, allocations: 4 kB / 488.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.1457, allocations: 8 kB / 488.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.1457, allocations: 7.984 kB / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.1458, allocations: 4 kB / 488.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.146, allocations: 185.6 kB / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.146, allocations: 4 kB / 488.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000298/0.1463, allocations: 48 kB / 488.7 MB, free: 12.25 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.002264/0.1486, allocations: 1.108 MB / 489.8 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003047/0.1489, allocations: 83.91 kB / 489.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.1489, allocations: 0 / 489.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.149, allocations: 40.3 kB / 489.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1494, allocations: 69.05 kB / 490 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.152, allocations: 1.875 MB / 491.8 MB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.1524, allocations: 0.7242 MB / 492.6 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.1525, allocations: 29.52 kB / 492.6 MB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1526, allocations: 55.41 kB / 492.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1526, allocations: 0 / 492.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.1822, allocations: 5.204 MB / 497.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.393, allocations: 10.81 kB / 497.9 MB, free: 3.164 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1)