Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009715/0.0009716, allocations: 169.1 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 221.5 MB / 230.7 MB, free: 7.523 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008158/0.0008157, allocations: 93.36 kB / 281.6 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2079/0.2079, allocations: 44.15 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.071e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1363, allocations: 61.91 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4237/0.56, allocations: 88.58 MB / 0.5812 GB, free: 7.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.5603, allocations: 71.97 kB / 0.5812 GB, free: 7.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01461/0.5749, allocations: 5.376 MB / 0.5865 GB, free: 2.496 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5749, allocations: 0 / 0.5865 GB, free: 2.496 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.575, allocations: 0 / 0.5865 GB, free: 2.496 MB / 394.7 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.0004964/0.5755, allocations: 395.6 kB / 0.5869 GB, free: 2.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.5755, allocations: 15.92 kB / 0.5869 GB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.5756, allocations: 11.91 kB / 0.5869 GB, free: 2.039 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.5759, allocations: 198.9 kB / 0.5871 GB, free: 1.805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.576, allocations: 4 kB / 0.5871 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.576, allocations: 4 kB / 0.5871 GB, free: 1.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.246e-05/0.5761, allocations: 19.98 kB / 0.5871 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.5762, allocations: 63.39 kB / 0.5872 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.5762, allocations: 3.984 kB / 0.5872 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.5762, allocations: 3.938 kB / 0.5872 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.5763, allocations: 7.938 kB / 0.5872 GB, free: 1.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.5766, allocations: 249.5 kB / 0.5874 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.5768, allocations: 54.62 kB / 0.5875 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.612e-05/0.5768, allocations: 28.97 kB / 0.5875 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.5768, allocations: 0 / 0.5875 GB, free: 1.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.577, allocations: 75.33 kB / 0.5876 GB, free: 1.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.577, allocations: 0 / 0.5876 GB, free: 1.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004854/0.5775, allocations: 173.1 kB / 0.5877 GB, free: 1.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.5776, allocations: 77.11 kB / 0.5878 GB, free: 0.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.5777, allocations: 142.2 kB / 0.588 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.5777, allocations: 33.69 kB / 0.588 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.5778, allocations: 92.33 kB / 0.5881 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.5778, allocations: 35.55 kB / 0.5881 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.5778, allocations: 0 / 0.5881 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.578, allocations: 326.8 kB / 0.5884 GB, free: 320 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.578, allocations: 20 kB / 0.5884 GB, free: 300 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-05/0.5781, allocations: 46.56 kB / 0.5885 GB, free: 244 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.5781, allocations: 32.08 kB / 0.5885 GB, free: 212 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5781, allocations: 3.938 kB / 0.5885 GB, free: 208 kB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001697/0.5783, allocations: 113.5 kB / 0.5886 GB, free: 88 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.5783, allocations: 8 kB / 0.5886 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5784, allocations: 0 / 0.5886 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5784, allocations: 0 / 0.5886 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.5785, allocations: 19.98 kB / 0.5887 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5785, allocations: 4 kB / 0.5887 GB, free: 56 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.5786, allocations: 4 kB / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.5786, allocations: 4 kB / 0.5887 GB, free: 48 kB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.537e-05/0.5787, allocations: 116.9 kB / 0.5888 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.5787, allocations: 11.94 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.5789, allocations: 126.9 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.579, allocations: 0 / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.579, allocations: 0 / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.579, allocations: 0 / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.5794, allocations: 399.8 kB / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.5794, allocations: 8.031 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.5795, allocations: 8 kB / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5795, allocations: 4 kB / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.5795, allocations: 0 / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5795, allocations: 0 / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5795, allocations: 4 kB / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.5797, allocations: 231 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.5798, allocations: 89.02 kB / 0.5896 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.5798, allocations: 7.984 kB / 0.5896 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.5799, allocations: 0 / 0.5896 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.58, allocations: 11.94 kB / 0.5896 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.58, allocations: 7.938 kB / 0.5896 GB, free: 14.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.995e-05/0.5801, allocations: 122.3 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5801, allocations: 0 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003056/0.5804, allocations: 39.94 kB / 0.5898 GB, free: 14.79 MB / 410.7 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) * 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 (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.0009917/0.5814, allocations: 448.8 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.5816, allocations: 71.92 kB / 0.5903 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5816, allocations: 0 / 0.5903 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.5816, allocations: 40.05 kB / 0.5903 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.5819, allocations: 23.97 kB / 0.5904 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.5822, allocations: 142.3 kB / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.5825, allocations: 0.7041 MB / 0.5912 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.884e-05/0.5826, allocations: 20.94 kB / 0.5912 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.5827, allocations: 23.42 kB / 0.5912 GB, free: 13.35 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5827, allocations: 0 / 0.5912 GB, free: 13.35 MB / 410.7 MB Notification: Performance of Templates: time 0.004656/0.5874, allocations: 1.966 MB / 0.5931 GB, free: 11.39 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)