Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 195.9 kB / 16.53 MB, free: 6.699 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.69/1.69, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4203/0.4203, allocations: 39.94 MB / 309.7 MB, free: 9.309 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 63.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1647, allocations: 56.89 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.004337/0.1691, allocations: 1.681 MB / 436.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.1708, allocations: 0.8055 MB / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1709, allocations: 0 / 437 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004192/0.1714, allocations: 39.83 kB / 437 MB, free: 1.129 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.1717, allocations: 55.69 kB / 437.1 MB, free: 1.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.172, allocations: 75.77 kB / 437.2 MB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.1723, allocations: 95.7 kB / 437.3 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.1724, allocations: 20.2 kB / 437.3 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.1726, allocations: 43.78 kB / 437.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1727, allocations: 23.86 kB / 437.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.1727, allocations: 4 kB / 437.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.1729, allocations: 47.92 kB / 437.4 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.475e-05/0.173, allocations: 19.91 kB / 437.4 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.007e-05/0.1731, allocations: 31.75 kB / 437.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002661/0.1733, allocations: 115.9 kB / 437.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1734, allocations: 4 kB / 437.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1734, allocations: 0 / 437.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.1734, allocations: 0 / 437.6 MB, free: 0.6016 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006525/0.174, allocations: 410.9 kB / 438 MB, free: 156 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.1741, allocations: 15.83 kB / 438 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.1742, allocations: 8.844 kB / 438 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.1745, allocations: 212 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.1745, allocations: 384 / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.1745, allocations: 8.125 kB / 438.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1747, allocations: 65.66 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1747, allocations: 0 / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1748, allocations: 0 / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1748, allocations: 3.938 kB / 438.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/0.1749, allocations: 19.98 kB / 438.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.1753, allocations: 288.8 kB / 438.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.1755, allocations: 62.67 kB / 438.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.462e-05/0.1756, allocations: 16.86 kB / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.1756, allocations: 0 / 438.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.1759, allocations: 71.3 kB / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1759, allocations: 0 / 438.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000638/0.1765, allocations: 173.3 kB / 438.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1766, allocations: 51.41 kB / 438.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.1768, allocations: 186.1 kB / 439.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1769, allocations: 33.64 kB / 439.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.143e-05/0.1769, allocations: 104.1 kB / 439.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/0.177, allocations: 19.72 kB / 439.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.562e-05/0.177, allocations: 25.7 kB / 439.3 MB, free: 14.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1772, allocations: 334.8 kB / 439.6 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.1773, allocations: 16 kB / 439.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.1773, allocations: 37.7 kB / 439.7 MB, free: 14.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.1775, allocations: 65.75 kB / 439.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1775, allocations: 0 / 439.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000212/0.1777, allocations: 97.53 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1777, allocations: 7.984 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1777, allocations: 4.031 kB / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1778, allocations: 0 / 439.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.866e-05/0.1779, allocations: 19.94 kB / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1779, allocations: 0 / 439.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.1779, allocations: 15.92 kB / 439.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1779, allocations: 0 / 439.9 MB, free: 14.04 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001134/0.1781, allocations: 125.4 kB / 440 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1781, allocations: 7.906 kB / 440 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.1782, allocations: 24.64 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1782, allocations: 4 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1782, allocations: 384 / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1782, allocations: 3.938 kB / 440 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.1787, allocations: 395.2 kB / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1787, allocations: 0 / 440.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.1787, allocations: 11.94 kB / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1787, allocations: 0 / 440.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.1788, allocations: 15.92 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1788, allocations: 4.031 kB / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1788, allocations: 0 / 440.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.179, allocations: 196.2 kB / 440.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.1791, allocations: 85.02 kB / 440.7 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.1791, allocations: 7.938 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.1792, allocations: 7.984 kB / 440.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.1793, allocations: 8 kB / 440.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.1793, allocations: 0 / 440.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1794, allocations: 152 kB / 440.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1794, allocations: 0 / 440.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002746/0.1797, allocations: 24 kB / 440.9 MB, free: 12.88 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: 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 (8): * Single equations (assignments): 6 * 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.001194/0.1809, allocations: 469.5 kB / 441.4 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.1811, allocations: 63.84 kB / 441.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1811, allocations: 0 / 441.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.1812, allocations: 35.91 kB / 441.5 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1816, allocations: 35.05 kB / 441.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005932/0.1822, allocations: 227.2 kB / 441.7 MB, free: 12.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.1826, allocations: 0.708 MB / 442.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.1827, allocations: 12.88 kB / 442.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.1827, allocations: 19.44 kB / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1828, allocations: 0 / 442.5 MB, free: 11.29 MB / 382.1 MB Notification: Performance of Templates: time 0.005543/0.1883, allocations: 1.685 MB / 444.2 MB, free: 9.609 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)