Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001398/0.001399, allocations: 176 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.37/1.37, allocations: 194.3 MB / 202.4 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001577/0.001577, allocations: 108.7 kB / 247.4 MB, free: 32 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1562/0.1562, allocations: 39.96 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.77e-05, allocations: 4 kB / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2225, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09659/0.3192, allocations: 81.39 MB / 0.5172 GB, free: 12.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.3194, allocations: 71.97 kB / 0.5173 GB, free: 12.1 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01296/0.3324, allocations: 5.018 MB / 0.5222 GB, free: 7.074 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3324, allocations: 0 / 0.5222 GB, free: 7.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.675e-05/0.3324, allocations: 11.92 kB / 0.5222 GB, free: 7.062 MB / 378.7 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.0005326/0.333, allocations: 473.4 kB / 0.5226 GB, free: 6.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.333, allocations: 8.031 kB / 0.5226 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.3331, allocations: 19.81 kB / 0.5226 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.3334, allocations: 218.8 kB / 0.5229 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3335, allocations: 4 kB / 0.5229 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.3335, allocations: 4 kB / 0.5229 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001069/0.3336, allocations: 31.97 kB / 0.5229 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.3337, allocations: 61.62 kB / 0.5229 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3337, allocations: 0 / 0.5229 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3338, allocations: 0 / 0.5229 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3338, allocations: 4 kB / 0.523 GB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.3342, allocations: 321.2 kB / 0.5233 GB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.3343, allocations: 70.62 kB / 0.5233 GB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.3344, allocations: 24.98 kB / 0.5233 GB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.3344, allocations: 0 / 0.5233 GB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.3345, allocations: 75.34 kB / 0.5234 GB, free: 5.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.3345, allocations: 0 / 0.5234 GB, free: 5.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004362/0.335, allocations: 193.1 kB / 0.5236 GB, free: 5.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.335, allocations: 55.41 kB / 0.5237 GB, free: 5.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3352, allocations: 214.3 kB / 0.5239 GB, free: 5.129 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3353, allocations: 25.7 kB / 0.5239 GB, free: 5.098 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.3354, allocations: 120 kB / 0.524 GB, free: 4.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.3354, allocations: 19.72 kB / 0.524 GB, free: 4.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.3354, allocations: 0 / 0.524 GB, free: 4.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3355, allocations: 334.8 kB / 0.5243 GB, free: 4.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.469e-05/0.3356, allocations: 39.94 kB / 0.5244 GB, free: 4.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.578e-05/0.3357, allocations: 59.75 kB / 0.5244 GB, free: 4.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.35e-05/0.3358, allocations: 39.98 kB / 0.5245 GB, free: 4.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3358, allocations: 0 / 0.5245 GB, free: 4.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002312/0.336, allocations: 149.5 kB / 0.5246 GB, free: 4.328 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.3361, allocations: 41.66 kB / 0.5247 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3361, allocations: 4.031 kB / 0.5247 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3361, allocations: 7.984 kB / 0.5247 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-05/0.3362, allocations: 19.92 kB / 0.5247 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3362, allocations: 4 kB / 0.5247 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.604e-05/0.3363, allocations: 4 kB / 0.5247 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3363, allocations: 4 kB / 0.5247 GB, free: 4.238 MB / 378.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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.822e-05/0.3364, allocations: 112.9 kB / 0.5248 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.3364, allocations: 15.81 kB / 0.5248 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3367, allocations: 143.4 kB / 0.525 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3367, allocations: 3.938 kB / 0.525 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3367, allocations: 0 / 0.525 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3367, allocations: 3.984 kB / 0.525 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.3371, allocations: 420 kB / 0.5254 GB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3371, allocations: 96 / 0.5254 GB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.3372, allocations: 23.88 kB / 0.5254 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3372, allocations: 0 / 0.5254 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.3373, allocations: 8.031 kB / 0.5254 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.3373, allocations: 4 kB / 0.5254 GB, free: 3.461 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3373, allocations: 3.938 kB / 0.5254 GB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.3375, allocations: 237.9 kB / 0.5256 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.3376, allocations: 104.9 kB / 0.5257 GB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.3376, allocations: 0 / 0.5257 GB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/0.3377, allocations: 11.98 kB / 0.5257 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.3377, allocations: 4 kB / 0.5257 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.3378, allocations: 11.98 kB / 0.5258 GB, free: 3.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.3379, allocations: 175.2 kB / 0.5259 GB, free: 2.879 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3379, allocations: 0 / 0.5259 GB, free: 2.879 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.3382, allocations: 39.94 kB / 0.526 GB, free: 2.84 MB / 378.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.0007707/0.339, allocations: 370.3 kB / 0.5263 GB, free: 2.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.3392, allocations: 167.3 kB / 0.5265 GB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3392, allocations: 0 / 0.5265 GB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.291e-05/0.3393, allocations: 43.92 kB / 0.5265 GB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.3395, allocations: 28.11 kB / 0.5265 GB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/0.3399, allocations: 210.9 kB / 0.5267 GB, free: 2.031 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3402, allocations: 0.7236 MB / 0.5275 GB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.305e-05/0.3403, allocations: 24.53 kB / 0.5275 GB, free: 1.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.3404, allocations: 15.44 kB / 0.5275 GB, free: 1.242 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3404, allocations: 0 / 0.5275 GB, free: 1.242 MB / 378.7 MB Notification: Performance of Templates: time 0.1972/0.5376, allocations: 1.85 MB / 0.5293 GB, free: 86.26 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1)