Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.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.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, 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.001398/0.001398, 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.492/1.492, allocations: 227.4 MB / 246.8 MB, free: 10.52 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.2331/0.2331, allocations: 46.12 MB / 344.2 MB, free: 11.54 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.002311/0.002311, allocations: 84.62 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1561, allocations: 62.45 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004215/0.1603, allocations: 2.277 MB / 482.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.1627, allocations: 1.31 MB / 483.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1629, allocations: 7.938 kB / 483.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.1633, allocations: 127.3 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.1639, allocations: 246.9 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.1643, allocations: 187.5 kB / 484.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004954/0.1648, allocations: 450.7 kB / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.1649, allocations: 65.34 kB / 484.9 MB, free: 444 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.1653, allocations: 267.1 kB / 485.1 MB, free: 176 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.1655, allocations: 159.1 kB / 485.3 MB, free: 16 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.1655, allocations: 16 kB / 485.3 MB, free: 0 / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1657, allocations: 75.97 kB / 485.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.1659, allocations: 127.5 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.1661, allocations: 186.5 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000473/0.1665, allocations: 434.2 kB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1666, allocations: 0 / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1666, allocations: 0 / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.1666, allocations: 0 / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001132/0.1677, allocations: 0.8244 MB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1678, allocations: 8.031 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.07e-05/0.1678, allocations: 54.73 kB / 487 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.408e-05/0.1679, allocations: 60.19 kB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.1684, allocations: 412.5 kB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1685, allocations: 8.375 kB / 487.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.1685, allocations: 27.83 kB / 487.5 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.1689, allocations: 188.9 kB / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.169, allocations: 0 / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.169, allocations: 11.98 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.169, allocations: 4 kB / 487.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.1692, allocations: 91.88 kB / 487.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009738/0.1702, allocations: 0.8055 MB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006342/0.1709, allocations: 242.5 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.1711, allocations: 87.53 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1711, allocations: 8 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004333/0.1715, allocations: 204.1 kB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.114e-06/0.1716, allocations: 11.94 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002475/0.174, allocations: 1.103 MB / 490.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.1741, allocations: 140.5 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009134/0.1751, allocations: 0.7931 MB / 491.2 MB, free: 9.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.1751, allocations: 37.7 kB / 491.2 MB, free: 9.793 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.1754, allocations: 240.9 kB / 491.4 MB, free: 9.551 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.1756, allocations: 146.1 kB / 491.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.1757, allocations: 82.03 kB / 491.7 MB, free: 9.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1759, allocations: 370.8 kB / 492 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.1762, allocations: 116.8 kB / 492.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.1765, allocations: 183.2 kB / 492.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/0.1771, allocations: 326.6 kB / 492.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1771, allocations: 3.938 kB / 492.6 MB, free: 8.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007778/0.1779, allocations: 432.6 kB / 493.1 MB, free: 7.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.1779, allocations: 4 kB / 493.1 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1779, allocations: 4.078 kB / 493.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1779, allocations: 8.125 kB / 493.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.1782, allocations: 91.83 kB / 493.2 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.1782, allocations: 11.92 kB / 493.2 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.1784, allocations: 15.98 kB / 493.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.1784, allocations: 16 kB / 493.2 MB, free: 7.703 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002642/0.1787, allocations: 228 kB / 493.4 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.1788, allocations: 67.16 kB / 493.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.179, allocations: 80.91 kB / 493.6 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.179, allocations: 15.94 kB / 493.6 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.179, allocations: 3.938 kB / 493.6 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.179, allocations: 0 / 493.6 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.1808, allocations: 1.311 MB / 494.9 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1808, allocations: 0 / 494.9 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1809, allocations: 60.16 kB / 495 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.181, allocations: 8 kB / 495 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.181, allocations: 20 kB / 495 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/0.181, allocations: 11.98 kB / 495 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.181, allocations: 7.875 kB / 495 MB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/0.182, allocations: 0.7784 MB / 495.8 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.1822, allocations: 172.3 kB / 496 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.1823, allocations: 12 kB / 496 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.1825, allocations: 19.98 kB / 496 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.1826, allocations: 39.83 kB / 496 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.1827, allocations: 27.98 kB / 496 MB, free: 4.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006885/0.1834, allocations: 0.5771 MB / 496.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1834, allocations: 4 kB / 496.6 MB, free: 4.117 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.1839, allocations: 91.89 kB / 496.7 MB, free: 4.027 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003147/0.1871, allocations: 1.749 MB / 498.5 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000702/0.1878, allocations: 339.9 kB / 498.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1878, allocations: 0 / 498.8 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.1881, allocations: 160.4 kB / 499 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009536/0.1891, allocations: 136.1 kB / 499.1 MB, free: 1.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/0.1956, allocations: 4.885 MB / 0.4922 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.1962, allocations: 0.8858 MB / 0.493 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.1965, allocations: 79.3 kB / 0.4931 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.1967, allocations: 191.4 kB / 0.4933 GB, free: 11.55 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1967, allocations: 0 / 0.4933 GB, free: 11.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.2333, allocations: 10.67 MB / 0.5037 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.425, allocations: 7.984 kB / 0.5037 GB, free: 0.9727 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88_res.csv --start-time 0 --stop-time 9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0036 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test88.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1)