Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001236/0.001235, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4418/0.4418, allocations: 38.04 MB / 308.4 MB, free: 10.45 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.1. 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.0006529/0.0006531, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1701, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002811/0.173, allocations: 1.366 MB / 435.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.1757, allocations: 1.309 MB / 436.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.1759, allocations: 0 / 436.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.1763, allocations: 35.83 kB / 436.6 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.1767, allocations: 51.75 kB / 436.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.1771, allocations: 71.84 kB / 436.8 MB, free: 2.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.1773, allocations: 67.91 kB / 436.8 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1775, allocations: 8.219 kB / 436.8 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1776, allocations: 47.77 kB / 436.9 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.1778, allocations: 31.8 kB / 436.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.1779, allocations: 0 / 436.9 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.1781, allocations: 43.97 kB / 437 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.1781, allocations: 7.984 kB / 437 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.799e-05/0.1782, allocations: 41.64 kB / 437 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.1785, allocations: 100 kB / 437.1 MB, free: 2.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1785, allocations: 4 kB / 437.1 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1786, allocations: 0 / 437.1 MB, free: 2.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1786, allocations: 0 / 437.1 MB, free: 2.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007392/0.1793, allocations: 398.9 kB / 437.5 MB, free: 1.941 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.1794, allocations: 12.03 kB / 437.5 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.438e-05/0.1795, allocations: 11.86 kB / 437.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.1798, allocations: 203.5 kB / 437.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1798, allocations: 7.938 kB / 437.7 MB, free: 1.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1799, allocations: 8 kB / 437.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.1801, allocations: 71.38 kB / 437.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1801, allocations: 0 / 437.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1802, allocations: 4 kB / 437.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1802, allocations: 4 kB / 437.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1803, allocations: 27.88 kB / 437.8 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005352/0.1808, allocations: 292.8 kB / 438.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.1811, allocations: 78.66 kB / 438.2 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.1811, allocations: 0 / 438.2 MB, free: 1.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.1814, allocations: 79.44 kB / 438.3 MB, free: 1.035 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.452e-06/0.1814, allocations: 0 / 438.3 MB, free: 1.035 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006689/0.1821, allocations: 205.2 kB / 438.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.1821, allocations: 77.11 kB / 438.6 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1823, allocations: 155.1 kB / 438.7 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1824, allocations: 33.64 kB / 438.7 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.706e-05/0.1824, allocations: 96.12 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.1825, allocations: 23.66 kB / 438.9 MB, free: 420 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.1825, allocations: 4 kB / 438.9 MB, free: 416 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1827, allocations: 322.8 kB / 439.2 MB, free: 84 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.1828, allocations: 27.98 kB / 439.2 MB, free: 56 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/0.1829, allocations: 46.5 kB / 439.3 MB, free: 0 / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.49e-05/0.183, allocations: 28.08 kB / 439.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.183, allocations: 0 / 439.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00024/0.1832, allocations: 117.4 kB / 439.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1833, allocations: 7.953 kB / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1833, allocations: 0 / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1833, allocations: 8.062 kB / 439.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1834, allocations: 15.98 kB / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1834, allocations: 0 / 439.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.1835, allocations: 7.938 kB / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1835, allocations: 7.938 kB / 439.4 MB, free: 15.8 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.1837, allocations: 126.9 kB / 439.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.1837, allocations: 7.906 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.1838, allocations: 16.67 kB / 439.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1838, allocations: 4 kB / 439.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.1838, allocations: 4 kB / 439.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.1838, allocations: 3.984 kB / 439.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005533/0.1844, allocations: 403.7 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.1844, allocations: 3.953 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.242e-05/0.1844, allocations: 12 kB / 440 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1844, allocations: 4 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1845, allocations: 3.984 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1845, allocations: 4.031 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1845, allocations: 4.078 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.1848, allocations: 229.8 kB / 440.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.576e-05/0.1849, allocations: 93 kB / 440.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1849, allocations: 4 kB / 440.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.185, allocations: 8 kB / 440.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.185, allocations: 7.984 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1851, allocations: 7.938 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.1852, allocations: 124.5 kB / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1852, allocations: 0 / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.1855, allocations: 35.98 kB / 440.5 MB, free: 14.61 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001292/0.1868, allocations: 0.5045 MB / 441 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.1871, allocations: 67.91 kB / 441.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.1871, allocations: 4 kB / 441.1 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.1872, allocations: 36.05 kB / 441.1 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.1874, allocations: 31.88 kB / 441.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.188, allocations: 214.2 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.1884, allocations: 0.7004 MB / 442.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.1886, allocations: 24.77 kB / 442.1 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.1886, allocations: 19.44 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1886, allocations: 0 / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of Templates: time 0.005662/0.1943, allocations: 1.909 MB / 444 MB, free: 11.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) Environment - environmentSimulation: