Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, 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.001323/0.001323, 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.468/1.468, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2455/0.2455, allocations: 46.11 MB / 344.2 MB, free: 11.61 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.00358/0.003581, allocations: 72.19 kB / 417.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1487, allocations: 62.46 MB / 480.2 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003539/0.1523, allocations: 1.742 MB / 482 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1541, allocations: 1.029 MB / 483 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.376e-05/0.1542, allocations: 0 / 483 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1545, allocations: 87.69 kB / 483.1 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003603/0.1549, allocations: 123.5 kB / 483.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.1551, allocations: 75.69 kB / 483.3 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1554, allocations: 119.7 kB / 483.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1555, allocations: 12 kB / 483.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1556, allocations: 55.7 kB / 483.5 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1557, allocations: 59.81 kB / 483.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1557, allocations: 4 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.1559, allocations: 63.98 kB / 483.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.62e-05/0.156, allocations: 19.92 kB / 483.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.156, allocations: 51.59 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.1563, allocations: 139.8 kB / 483.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1563, allocations: 0 / 483.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1563, allocations: 0 / 483.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1563, allocations: 0 / 483.8 MB, free: 1.59 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.0006498/0.157, allocations: 429 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.157, allocations: 8.031 kB / 484.2 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.1571, allocations: 38.73 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.1571, allocations: 24.75 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1574, allocations: 212 kB / 484.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.1574, allocations: 8.312 kB / 484.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1575, allocations: 7.938 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1576, allocations: 61.66 kB / 484.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1577, allocations: 3.938 kB / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1577, allocations: 0 / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1577, allocations: 0 / 484.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.1578, allocations: 23.98 kB / 484.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.1582, allocations: 312.7 kB / 484.9 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.1585, allocations: 58.5 kB / 484.9 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.39e-05/0.1586, allocations: 24.97 kB / 485 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.1586, allocations: 7.922 kB / 485 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.1589, allocations: 71.39 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1589, allocations: 0 / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008153/0.1597, allocations: 237 kB / 485.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.1597, allocations: 63.28 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.16, allocations: 220.3 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.16, allocations: 25.7 kB / 485.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.1601, allocations: 120.1 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.1602, allocations: 35.53 kB / 485.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.1602, allocations: 25.72 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1604, allocations: 326.8 kB / 486.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.1604, allocations: 31.98 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.1605, allocations: 49.33 kB / 486.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1607, allocations: 85.69 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1607, allocations: 0 / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002249/0.1609, allocations: 129.4 kB / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1609, allocations: 4 kB / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1609, allocations: 0 / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.161, allocations: 0 / 486.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.014e-05/0.1611, allocations: 31.86 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1611, allocations: 0 / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.1611, allocations: 8 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1611, allocations: 32 / 486.4 MB, free: 14.72 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 (13): * Single equations (assignments): 13 * 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.0001104/0.1613, allocations: 133.8 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1613, allocations: 15.81 kB / 486.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.1613, allocations: 21.39 kB / 486.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1614, allocations: 3.938 kB / 486.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1614, allocations: 7.938 kB / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1614, allocations: 0 / 486.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.1619, allocations: 459.9 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1619, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.162, allocations: 12 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.162, allocations: 3.938 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.162, allocations: 8 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.162, allocations: 3.984 kB / 487.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1621, allocations: 4 kB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.1623, allocations: 229.2 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.1624, allocations: 88.92 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.1624, allocations: 3.984 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.1625, allocations: 8 kB / 487.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.1626, allocations: 11.92 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1626, allocations: 4 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1628, allocations: 169.2 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1628, allocations: 3.938 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1631, allocations: 31.98 kB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002372/0.1655, allocations: 1.173 MB / 488.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.1657, allocations: 79.91 kB / 488.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1657, allocations: 0 / 488.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.205e-05/0.1658, allocations: 43.86 kB / 488.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.1662, allocations: 31.77 kB / 488.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.1683, allocations: 1.813 MB / 490.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.1688, allocations: 0.7161 MB / 491.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.687e-05/0.1689, allocations: 16.62 kB / 491.5 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.548e-05/0.169, allocations: 47.42 kB / 491.5 MB, free: 9.531 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.169, allocations: 4 kB / 491.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.1937, allocations: 3.812 MB / 495.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.191, allocations: 10.8 kB / 495.3 MB, free: 5.789 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)