Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.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.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001467/0.001467, 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.001806/0.001806, 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.634/1.634, 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.2405/0.2405, allocations: 46.13 MB / 344.2 MB, free: 11.56 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.002569/0.002569, allocations: 80.98 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1562, allocations: 62.46 MB / 480.2 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.00397/0.1602, allocations: 2.266 MB / 482.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.1628, allocations: 1.318 MB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.163, allocations: 7.938 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.1634, allocations: 143.3 kB / 484 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005649/0.164, allocations: 254.9 kB / 484.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.1644, allocations: 191.5 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005463/0.165, allocations: 454.7 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.1651, allocations: 61.34 kB / 484.9 MB, free: 440 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003608/0.1655, allocations: 303 kB / 485.2 MB, free: 136 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1657, allocations: 159.2 kB / 485.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.1658, allocations: 16 kB / 485.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.166, allocations: 79.91 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.1661, allocations: 143.4 kB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.1664, allocations: 214.2 kB / 485.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.1669, allocations: 474.1 kB / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1669, allocations: 0 / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1669, allocations: 0 / 486.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.1669, allocations: 0 / 486.3 MB, free: 15.07 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.001198/0.1681, allocations: 0.8942 MB / 487.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1682, allocations: 8.031 kB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.1682, allocations: 46.73 kB / 487.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1683, allocations: 72 kB / 487.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005198/0.1689, allocations: 436.2 kB / 487.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.1689, allocations: 16.36 kB / 487.7 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.1689, allocations: 15.94 kB / 487.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.1693, allocations: 192.9 kB / 487.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.1693, allocations: 11.91 kB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.1694, allocations: 0 / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.1694, allocations: 4 kB / 487.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.1696, allocations: 95.86 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009737/0.1706, allocations: 0.825 MB / 488.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/0.1713, allocations: 242.5 kB / 489.1 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.1715, allocations: 95.45 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1715, allocations: 4 kB / 489.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004441/0.172, allocations: 200.3 kB / 489.4 MB, free: 11.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.793e-06/0.172, allocations: 4 kB / 489.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002546/0.1745, allocations: 1.175 MB / 490.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.105e-05/0.1746, allocations: 140.5 kB / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.1757, allocations: 0.9613 MB / 491.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.1758, allocations: 37.7 kB / 491.7 MB, free: 9.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.176, allocations: 265.1 kB / 492 MB, free: 9.047 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.1761, allocations: 138.1 kB / 492.1 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.1763, allocations: 85.97 kB / 492.2 MB, free: 8.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1764, allocations: 322 kB / 492.5 MB, free: 8.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1767, allocations: 112.8 kB / 492.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.177, allocations: 183.2 kB / 492.8 MB, free: 8.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.1775, allocations: 322.7 kB / 493.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1775, allocations: 0 / 493.1 MB, free: 7.844 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007327/0.1783, allocations: 444.3 kB / 493.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1783, allocations: 4 kB / 493.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.1783, allocations: 4.125 kB / 493.5 MB, free: 7.395 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1783, allocations: 8 kB / 493.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.1786, allocations: 91.83 kB / 493.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.1786, allocations: 7.938 kB / 493.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1788, allocations: 19.92 kB / 493.7 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.1788, allocations: 16 kB / 493.7 MB, free: 7.254 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.000306/0.1791, allocations: 255.9 kB / 493.9 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.1792, allocations: 71.06 kB / 494 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.1794, allocations: 97.73 kB / 494.1 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1794, allocations: 4 kB / 494.1 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/0.1794, allocations: 3.938 kB / 494.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1795, allocations: 7.984 kB / 494.1 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.1813, allocations: 1.334 MB / 495.4 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.1813, allocations: 4.094 kB / 495.4 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.1815, allocations: 68.05 kB / 495.5 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.1815, allocations: 7.984 kB / 495.5 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.1815, allocations: 20 kB / 495.5 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1815, allocations: 4 kB / 495.5 MB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.1816, allocations: 11.88 kB / 495.6 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.1828, allocations: 0.7861 MB / 496.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.1831, allocations: 180.2 kB / 496.5 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.1832, allocations: 12 kB / 496.5 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/0.1837, allocations: 19.98 kB / 496.5 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.1838, allocations: 39.89 kB / 496.6 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/0.1839, allocations: 27.92 kB / 496.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001213/0.1851, allocations: 0.6982 MB / 497.3 MB, free: 3.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1852, allocations: 4 kB / 497.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000972/0.1861, allocations: 95.89 kB / 497.4 MB, free: 3.363 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.004678/0.1908, allocations: 1.754 MB / 499.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.1921, allocations: 339.7 kB / 499.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.1921, allocations: 4 kB / 499.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.1926, allocations: 160.3 kB / 499.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.1943, allocations: 139 kB / 499.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009217/0.2036, allocations: 5.293 MB / 0.4932 GB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.2044, allocations: 0.9209 MB / 0.4941 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.2047, allocations: 83.23 kB / 0.4942 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003198/0.2051, allocations: 207.4 kB / 0.4944 GB, free: 10.41 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2051, allocations: 0 / 0.4944 GB, free: 10.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2566/0.4616, allocations: 11.33 MB / 0.5055 GB, free: 40.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.544, allocations: 6.781 kB / 0.5055 GB, free: 40.48 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test87.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1)