Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 106.1 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 197.1 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.1 MB / 222.8 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4391/0.4391, allocations: 43.49 MB / 313.6 MB, free: 8.305 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 67.89 kB / 382.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1707, allocations: 57.78 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004544/0.1754, allocations: 1.842 MB / 441.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1773, allocations: 0.8742 MB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.1775, allocations: 7.938 kB / 442.8 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.1782, allocations: 295.4 kB / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004909/0.1787, allocations: 203.5 kB / 443.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.1792, allocations: 135.7 kB / 443.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004827/0.1797, allocations: 239.4 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.1798, allocations: 21.53 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.1801, allocations: 123.5 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.1804, allocations: 203.5 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.1805, allocations: 7.938 kB / 444 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1806, allocations: 40 kB / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.1808, allocations: 151.5 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.181, allocations: 142.8 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.1817, allocations: 359 kB / 444.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.1817, allocations: 4 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.1817, allocations: 3.938 kB / 444.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.1817, allocations: 0 / 444.7 MB, free: 9.754 MB / 382.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.001558/0.1833, allocations: 0.7301 MB / 445.4 MB, free: 8.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.665e-05/0.1834, allocations: 15.89 kB / 445.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.556e-05/0.1835, allocations: 42.67 kB / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.1836, allocations: 48.38 kB / 445.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007097/0.1843, allocations: 439.9 kB / 446 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1844, allocations: 4.375 kB / 446 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.1844, allocations: 15.86 kB / 446 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.1847, allocations: 79.38 kB / 446.1 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1847, allocations: 0 / 446.1 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.1847, allocations: 7.984 kB / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.1848, allocations: 0 / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.1849, allocations: 31.97 kB / 446.1 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.1855, allocations: 378.3 kB / 446.5 MB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.1858, allocations: 109.2 kB / 446.6 MB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.749e-05/0.1859, allocations: 37.7 kB / 446.6 MB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1859, allocations: 11.97 kB / 446.6 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.1863, allocations: 105 kB / 446.7 MB, free: 7.523 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.1864, allocations: 0 / 446.7 MB, free: 7.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005468/0.1869, allocations: 200.9 kB / 446.9 MB, free: 7.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.187, allocations: 81.11 kB / 447 MB, free: 7.223 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.1883, allocations: 1.034 MB / 448.1 MB, free: 6.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.1883, allocations: 29.7 kB / 448.1 MB, free: 6.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.1885, allocations: 236 kB / 448.3 MB, free: 5.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.1886, allocations: 27.64 kB / 448.3 MB, free: 5.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/0.1887, allocations: 29.72 kB / 448.4 MB, free: 5.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.1889, allocations: 362.8 kB / 448.7 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.189, allocations: 31.97 kB / 448.8 MB, free: 5.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1891, allocations: 63.36 kB / 448.8 MB, free: 5.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1893, allocations: 91.84 kB / 448.9 MB, free: 5.273 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1893, allocations: 7.938 kB / 448.9 MB, free: 5.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003114/0.1896, allocations: 165 kB / 449.1 MB, free: 5.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.1897, allocations: 4 kB / 449.1 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1897, allocations: 4 kB / 449.1 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.1897, allocations: 0 / 449.1 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1898, allocations: 27.92 kB / 449.1 MB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.1899, allocations: 3.938 kB / 449.1 MB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.19, allocations: 15.92 kB / 449.1 MB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.19, allocations: 4 kB / 449.1 MB, free: 5.039 MB / 382.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002981/0.1903, allocations: 225.8 kB / 449.4 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.1904, allocations: 51.34 kB / 449.4 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.995e-05/0.1905, allocations: 59.98 kB / 449.5 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1905, allocations: 4 kB / 449.5 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1905, allocations: 0 / 449.5 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1905, allocations: 0 / 449.5 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.1909, allocations: 345.3 kB / 449.8 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1909, allocations: 0 / 449.8 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.1909, allocations: 11.98 kB / 449.8 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.191, allocations: 0 / 449.8 MB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.191, allocations: 7.938 kB / 449.8 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.191, allocations: 4 kB / 449.8 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.191, allocations: 0 / 449.8 MB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.1914, allocations: 205.2 kB / 450 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.1915, allocations: 136.4 kB / 450.2 MB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.1916, allocations: 4 kB / 450.2 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.088e-05/0.1917, allocations: 8.219 kB / 450.2 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.1917, allocations: 15.92 kB / 450.2 MB, free: 3.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.1918, allocations: 11.98 kB / 450.2 MB, free: 3.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009089/0.1927, allocations: 0.7682 MB / 451 MB, free: 3.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1927, allocations: 0 / 451 MB, free: 3.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.193, allocations: 40 kB / 451 MB, free: 3.066 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.00187/0.1949, allocations: 1.057 MB / 452.1 MB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003023/0.1952, allocations: 83.84 kB / 452.1 MB, free: 1.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1952, allocations: 0 / 452.1 MB, free: 1.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.1953, allocations: 44.34 kB / 452.2 MB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.1958, allocations: 78.27 kB / 452.3 MB, free: 1.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2211/0.4169, allocations: 4.673 MB / 456.9 MB, free: 47.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.4173, allocations: 0.8413 MB / 457.8 MB, free: 46.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.4174, allocations: 59.36 kB / 457.8 MB, free: 46.78 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.4176, allocations: 146.7 kB / 458 MB, free: 46.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.084e-06/0.4176, allocations: 0 / 458 MB, free: 46.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.4387, allocations: 8.637 MB / 466.6 MB, free: 45.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/0.4389, allocations: 234.8 kB / 466.8 MB, free: 45.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/2.507, allocations: 0 / 466.8 MB, free: 45.7 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)