Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 174.4 kB / 8.74 MB, free: 348 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.675/1.675, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.001097/0.001097, allocations: 88.39 kB / 281.6 MB, free: 5.324 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.2838/0.2838, allocations: 44.14 MB / 376.5 MB, free: 3.047 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.94e-05, allocations: 8.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 61.92 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3738/0.5006, allocations: 88.77 MB / 0.5814 GB, free: 7.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.5008, allocations: 79.94 kB / 0.5814 GB, free: 7.652 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01504/0.5159, allocations: 5.833 MB / 0.5871 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5159, allocations: 0 / 0.5871 GB, free: 1.836 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.5159, allocations: 7.984 kB / 0.5871 GB, free: 1.828 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.0004192/0.5164, allocations: 378.3 kB / 0.5875 GB, free: 1.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5164, allocations: 11.98 kB / 0.5875 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.5165, allocations: 11.91 kB / 0.5875 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.5168, allocations: 213 kB / 0.5877 GB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.5168, allocations: 7.938 kB / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.5168, allocations: 0 / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.129e-05/0.5169, allocations: 27.98 kB / 0.5878 GB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.517, allocations: 59.39 kB / 0.5878 GB, free: 1.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5171, allocations: 3.938 kB / 0.5878 GB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.5171, allocations: 4 kB / 0.5878 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5171, allocations: 0 / 0.5878 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.5175, allocations: 273.4 kB / 0.5881 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.5176, allocations: 50.69 kB / 0.5881 GB, free: 0.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.42e-05/0.5176, allocations: 16.98 kB / 0.5882 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.5177, allocations: 0 / 0.5882 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.5178, allocations: 67.39 kB / 0.5882 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.5178, allocations: 0 / 0.5882 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004385/0.5182, allocations: 149.2 kB / 0.5884 GB, free: 428 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.5183, allocations: 81.11 kB / 0.5884 GB, free: 328 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.5185, allocations: 142.6 kB / 0.5886 GB, free: 180 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.5185, allocations: 25.7 kB / 0.5886 GB, free: 148 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.5186, allocations: 92.14 kB / 0.5887 GB, free: 52 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.5186, allocations: 27.64 kB / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.5186, allocations: 4 kB / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5187, allocations: 326.9 kB / 0.589 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.385e-05/0.5188, allocations: 16 kB / 0.589 GB, free: 15.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/0.5188, allocations: 42.52 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.077e-05/0.5189, allocations: 15.98 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5189, allocations: 0 / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001416/0.519, allocations: 93.56 kB / 0.5892 GB, free: 15.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.519, allocations: 8 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.5191, allocations: 0 / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5191, allocations: 4 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.5192, allocations: 19.92 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.5192, allocations: 0 / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.5192, allocations: 4 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.5192, allocations: 0 / 0.5892 GB, free: 15.48 MB / 410.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 (10): * Single equations (assignments): 10 * 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 7.646e-05/0.5193, allocations: 114.6 kB / 0.5893 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.5194, allocations: 15.89 kB / 0.5894 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.5195, allocations: 110.4 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5196, allocations: 0 / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5196, allocations: 0 / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5196, allocations: 7.984 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.5199, allocations: 371.8 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5199, allocations: 3.938 kB / 0.5898 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.52, allocations: 8 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.52, allocations: 4.031 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.52, allocations: 8.172 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.52, allocations: 4 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.52, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.5202, allocations: 214.1 kB / 0.5901 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.5203, allocations: 85.02 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.5203, allocations: 7.984 kB / 0.5901 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.5204, allocations: 4 kB / 0.5901 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.5204, allocations: 11.95 kB / 0.5902 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.5205, allocations: 7.984 kB / 0.5902 GB, free: 14.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.241e-05/0.5206, allocations: 115.2 kB / 0.5903 GB, free: 14.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5206, allocations: 0 / 0.5903 GB, free: 14.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002659/0.5208, allocations: 35.94 kB / 0.5903 GB, free: 14.27 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 (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.0009354/0.5218, allocations: 428.9 kB / 0.5907 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.5219, allocations: 59.92 kB / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5219, allocations: 0 / 0.5908 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.713e-05/0.522, allocations: 27.94 kB / 0.5908 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.5222, allocations: 23.97 kB / 0.5908 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.5225, allocations: 137.9 kB / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.5228, allocations: 0.704 MB / 0.5916 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.07e-05/0.5229, allocations: 16.55 kB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.5229, allocations: 19.42 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5229, allocations: 4 kB / 0.5917 GB, free: 12.89 MB / 410.7 MB Notification: Performance of Templates: time 0.004006/0.5269, allocations: 1.825 MB / 0.5935 GB, free: 11.07 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1)