Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001863/0.001863, allocations: 104 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.002118/0.002118, 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.484/1.484, allocations: 227.4 MB / 246.8 MB, free: 10.5 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.2564/0.2564, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002336/0.002337, allocations: 82.88 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1211, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003583/0.1247, allocations: 1.915 MB / 482.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.1268, allocations: 1.126 MB / 483.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1269, allocations: 7.938 kB / 483.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.1275, allocations: 251.4 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004988/0.128, allocations: 239.1 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1283, allocations: 115.6 kB / 483.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.1287, allocations: 263.3 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1288, allocations: 33.66 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.129, allocations: 131.5 kB / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002368/0.1292, allocations: 187.4 kB / 484.5 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.1293, allocations: 8 kB / 484.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.1294, allocations: 63.97 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.929e-05/0.1295, allocations: 63.7 kB / 484.6 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1296, allocations: 103.2 kB / 484.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.13, allocations: 247.4 kB / 484.9 MB, free: 388 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.13, allocations: 4 kB / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.13, allocations: 0 / 484.9 MB, free: 384 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.13, allocations: 0 / 484.9 MB, free: 384 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009102/0.131, allocations: 0.5835 MB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.131, allocations: 11.97 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.924e-05/0.1311, allocations: 34.75 kB / 485.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.182e-05/0.1311, allocations: 32.56 kB / 485.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.1315, allocations: 290.4 kB / 485.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1315, allocations: 8.359 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1316, allocations: 19.92 kB / 485.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.1318, allocations: 110.7 kB / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1319, allocations: 11.91 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1319, allocations: 0 / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1319, allocations: 0 / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.132, allocations: 47.97 kB / 486.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.1327, allocations: 488.6 kB / 486.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.1331, allocations: 121.2 kB / 486.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1332, allocations: 49.83 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.1332, allocations: 4 kB / 486.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.1335, allocations: 117 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.1335, allocations: 0 / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0014/0.1349, allocations: 0.5152 MB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.135, allocations: 81.11 kB / 487.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.1355, allocations: 497.6 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1356, allocations: 33.7 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1357, allocations: 168.5 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.029e-05/0.1358, allocations: 71 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/0.1359, allocations: 41.7 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1361, allocations: 350.8 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1362, allocations: 59.97 kB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.1364, allocations: 87.41 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.1367, allocations: 163.5 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1367, allocations: 3.984 kB / 488.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004263/0.1371, allocations: 240.9 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1371, allocations: 4 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1372, allocations: 4 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1372, allocations: 0 / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1373, allocations: 43.98 kB / 489.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1373, allocations: 9.094 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.1374, allocations: 8.062 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.1375, allocations: 12 kB / 489.2 MB, free: 11.83 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.0001802/0.1377, allocations: 166.2 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.1377, allocations: 35.56 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.816e-05/0.1378, allocations: 46.88 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1378, allocations: 4 kB / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1378, allocations: 0 / 489.4 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1379, allocations: 7.938 kB / 489.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000971/0.1388, allocations: 0.735 MB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1388, allocations: 0 / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.799e-05/0.1389, allocations: 36.11 kB / 490.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.139, allocations: 4.125 kB / 490.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.139, allocations: 15.92 kB / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.139, allocations: 0 / 490.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.139, allocations: 7.938 kB / 490.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.1395, allocations: 428.6 kB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.957e-05/0.1396, allocations: 108.7 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.1397, allocations: 12 kB / 490.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1398, allocations: 7.984 kB / 490.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.1399, allocations: 19.92 kB / 490.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.1399, allocations: 11.94 kB / 490.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003858/0.1403, allocations: 375.1 kB / 491.2 MB, free: 9.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1403, allocations: 7.938 kB / 491.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.1407, allocations: 51.98 kB / 491.2 MB, free: 9.645 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.002659/0.1433, allocations: 1.354 MB / 492.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003838/0.1437, allocations: 167.9 kB / 492.8 MB, free: 8.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1437, allocations: 3.938 kB / 492.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.1439, allocations: 88.22 kB / 492.9 MB, free: 8.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.1445, allocations: 66.7 kB / 492.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/0.1483, allocations: 3.006 MB / 495.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.1488, allocations: 0.7869 MB / 496.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.1489, allocations: 45.92 kB / 496.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.1491, allocations: 107.4 kB / 496.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1491, allocations: 0 / 496.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.1795, allocations: 6.54 MB / 0.4916 GB, free: 13.59 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.139, allocations: 7.781 kB / 0.4916 GB, free: 13.58 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)