Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 246.8 MB, free: 10.53 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.2283/0.2283, allocations: 46.12 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.00377/0.00377, allocations: 85.61 kB / 417.8 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1452, allocations: 62.45 MB / 480.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004154/0.1494, allocations: 1.936 MB / 482.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1513, allocations: 1.059 MB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1515, allocations: 4 kB / 483.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.1519, allocations: 39.72 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.1522, allocations: 103.5 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1525, allocations: 95.64 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.1528, allocations: 143.6 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.1529, allocations: 29.55 kB / 483.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.153, allocations: 55.7 kB / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1531, allocations: 47.72 kB / 483.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.1532, allocations: 8 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1533, allocations: 63.84 kB / 483.8 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.1534, allocations: 19.92 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.212e-05/0.1534, allocations: 47.69 kB / 483.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1537, allocations: 151.7 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1537, allocations: 4 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1537, allocations: 0 / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1537, allocations: 0 / 484 MB, free: 1.312 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006981/0.1544, allocations: 492.4 kB / 484.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1545, allocations: 8.031 kB / 484.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/0.1546, allocations: 42.75 kB / 484.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.1546, allocations: 16.75 kB / 484.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.1549, allocations: 225.6 kB / 484.8 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1549, allocations: 8.312 kB / 484.8 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.1549, allocations: 11.94 kB / 484.8 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.1552, allocations: 104.2 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1552, allocations: 4 kB / 484.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1552, allocations: 8 kB / 484.9 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1553, allocations: 3.938 kB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.1554, allocations: 55.28 kB / 485 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.1561, allocations: 0.5126 MB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.1565, allocations: 82.61 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1566, allocations: 44.83 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1567, allocations: 0 / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002824/0.157, allocations: 83.38 kB / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.157, allocations: 0 / 485.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004299/0.1574, allocations: 145.3 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.1575, allocations: 55.41 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.1577, allocations: 206.1 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1578, allocations: 25.7 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1579, allocations: 124 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.1579, allocations: 31.59 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.158, allocations: 25.72 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1582, allocations: 326.8 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.1583, allocations: 31.97 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1584, allocations: 60.28 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.1586, allocations: 96.58 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1586, allocations: 0 / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003327/0.159, allocations: 145.3 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.159, allocations: 4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.159, allocations: 3.984 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.159, allocations: 7.938 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1592, allocations: 23.92 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1592, allocations: 7.984 kB / 487 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.1593, allocations: 15.94 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1593, allocations: 4 kB / 487 MB, free: 14.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001445/0.1594, allocations: 136.4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.1595, allocations: 15.81 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.1595, allocations: 21.39 kB / 487.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1595, allocations: 11.88 kB / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1596, allocations: 0 / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1596, allocations: 0 / 487.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.1598, allocations: 209.5 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1598, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.484e-05/0.1599, allocations: 15.98 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1599, allocations: 4 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1599, allocations: 0 / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1599, allocations: 3.938 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1599, allocations: 0 / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.1604, allocations: 176.9 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.548e-05/0.1604, allocations: 88.95 kB / 487.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.1605, allocations: 11.98 kB / 487.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.1605, allocations: 12 kB / 487.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1606, allocations: 7.984 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1606, allocations: 0 / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001479/0.1608, allocations: 148.4 kB / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1608, allocations: 192 / 487.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.161, allocations: 24 kB / 487.9 MB, free: 13.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002097/0.1631, allocations: 1.023 MB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002671/0.1634, allocations: 87.89 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1634, allocations: 0 / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1635, allocations: 36.17 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1639, allocations: 45.14 kB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.1663, allocations: 1.737 MB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.1667, allocations: 0.7161 MB / 491.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.138e-05/0.1668, allocations: 21.41 kB / 491.5 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.1668, allocations: 47.42 kB / 491.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1669, allocations: 0 / 491.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/0.1946, allocations: 3.746 MB / 495.3 MB, free: 5.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.162, allocations: 11.86 kB / 495.3 MB, free: 5.676 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)