Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002926/0.002926, allocations: 183.4 kB / 7.458 MB, free: 2.484 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.361/1.361, allocations: 194.2 MB / 202.1 MB, free: 8.738 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.001666/0.001666, allocations: 115.3 kB / 247.1 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1808/0.1808, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.005e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.0877, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.3708, allocations: 81.31 MB / 0.5166 GB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.3711, allocations: 69.52 kB / 0.5166 GB, free: 10.27 MB / 346.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: time 0.01288/0.384, allocations: 4.464 MB / 0.521 GB, free: 9.383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.3841, allocations: 5.5 kB / 0.521 GB, free: 9.379 MB / 346.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.0004528/0.3845, allocations: 477 kB / 0.5215 GB, free: 8.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3846, allocations: 8.281 kB / 0.5215 GB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.3846, allocations: 14.97 kB / 0.5215 GB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.3849, allocations: 218.3 kB / 0.5217 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.385, allocations: 3.984 kB / 0.5217 GB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.385, allocations: 5.406 kB / 0.5217 GB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.321e-05/0.3851, allocations: 20 kB / 0.5217 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.748e-05/0.3852, allocations: 61.14 kB / 0.5218 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3852, allocations: 0 / 0.5218 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3852, allocations: 1.438 kB / 0.5218 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3852, allocations: 0 / 0.5218 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.3856, allocations: 308.7 kB / 0.5221 GB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.736e-05/0.3857, allocations: 51.38 kB / 0.5221 GB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.3857, allocations: 28.48 kB / 0.5221 GB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.3858, allocations: 3.938 kB / 0.5221 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.056e-05/0.3858, allocations: 58.41 kB / 0.5222 GB, free: 8.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3859, allocations: 1.281 kB / 0.5222 GB, free: 8.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004208/0.3863, allocations: 147.1 kB / 0.5223 GB, free: 8.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.3863, allocations: 56.47 kB / 0.5224 GB, free: 8.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.3865, allocations: 221.6 kB / 0.5226 GB, free: 8.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.3865, allocations: 29.67 kB / 0.5226 GB, free: 7.973 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.3866, allocations: 97.69 kB / 0.5227 GB, free: 7.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.3866, allocations: 26.62 kB / 0.5228 GB, free: 7.867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.3866, allocations: 1.406 kB / 0.5228 GB, free: 7.867 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.817e-05/0.3867, allocations: 327.7 kB / 0.5231 GB, free: 7.547 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.053e-05/0.3868, allocations: 31.75 kB / 0.5231 GB, free: 7.547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.51e-05/0.3868, allocations: 47.88 kB / 0.5231 GB, free: 7.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.421e-05/0.3869, allocations: 46.28 kB / 0.5232 GB, free: 7.516 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3869, allocations: 0 / 0.5232 GB, free: 7.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002075/0.3871, allocations: 144.2 kB / 0.5233 GB, free: 7.461 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3872, allocations: 4.875 kB / 0.5233 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3872, allocations: 1.312 kB / 0.5233 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3872, allocations: 0 / 0.5233 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.564e-05/0.3873, allocations: 13.94 kB / 0.5233 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3873, allocations: 0.9375 kB / 0.5233 GB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.209e-05/0.3874, allocations: 7.109 kB / 0.5234 GB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3874, allocations: 8.656 kB / 0.5234 GB, free: 7.453 MB / 346.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 (11): * Single equations (assignments): 10 * 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 5.382e-05/0.3874, allocations: 111.9 kB / 0.5235 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.3875, allocations: 15.28 kB / 0.5235 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.3877, allocations: 114.5 kB / 0.5236 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3877, allocations: 0.8125 kB / 0.5236 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3877, allocations: 1.219 kB / 0.5236 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3877, allocations: 0 / 0.5236 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.3881, allocations: 394 kB / 0.524 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3881, allocations: 4.891 kB / 0.524 GB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.3881, allocations: 12.81 kB / 0.524 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3881, allocations: 0.8438 kB / 0.524 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3882, allocations: 2.219 kB / 0.524 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3882, allocations: 0.9375 kB / 0.524 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3882, allocations: 384 / 0.524 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000165/0.3883, allocations: 224.9 kB / 0.5242 GB, free: 6.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.3884, allocations: 104.2 kB / 0.5243 GB, free: 6.664 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.3885, allocations: 6.266 kB / 0.5243 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.3885, allocations: 1.656 kB / 0.5243 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3886, allocations: 3.906 kB / 0.5243 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3886, allocations: 10.67 kB / 0.5243 GB, free: 6.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001367/0.3887, allocations: 186 kB / 0.5245 GB, free: 6.562 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003035/0.3891, allocations: 40.88 kB / 0.5245 GB, free: 6.551 MB / 346.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.00069/0.3897, allocations: 315.9 kB / 0.5248 GB, free: 6.359 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002026/0.39, allocations: 120.9 kB / 0.525 GB, free: 6.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.39, allocations: 0 / 0.525 GB, free: 6.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.933e-05/0.39, allocations: 30.62 kB / 0.525 GB, free: 6.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.3903, allocations: 24.88 kB / 0.525 GB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.3908, allocations: 216 kB / 0.5252 GB, free: 6.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.391, allocations: 0.7389 MB / 0.5259 GB, free: 5.453 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.391, allocations: 0 / 0.5259 GB, free: 5.453 MB / 346.7 MB Notification: Performance of Templates: time 0.00445/0.3955, allocations: 1.791 MB / 0.5277 GB, free: 4.559 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1)