Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001552/0.001552, allocations: 187.3 kB / 7.654 MB, free: 1.402 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.369/1.369, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001632/0.001632, allocations: 113.5 kB / 247.4 MB, free: 6.215 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.187/0.187, allocations: 39.94 MB / 332.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.616e-05/1.608e-05, allocations: 4 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 54.87 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4051/0.5088, allocations: 81.35 MB / 0.5171 GB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.5091, allocations: 70.03 kB / 0.5172 GB, free: 10.31 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 - DAE generated: time 0.01072/0.5198, allocations: 4.436 MB / 0.5215 GB, free: 9.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5199, allocations: 3.844 kB / 0.5216 GB, free: 9.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.5199, allocations: 0 / 0.5216 GB, free: 9.227 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.000415/0.5203, allocations: 457.8 kB / 0.522 GB, free: 8.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.5204, allocations: 7.719 kB / 0.522 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/0.5204, allocations: 7.75 kB / 0.522 GB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.5207, allocations: 214 kB / 0.5222 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.5207, allocations: 0 / 0.5222 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.5208, allocations: 3.812 kB / 0.5222 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.898e-05/0.5209, allocations: 18.62 kB / 0.5222 GB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.652e-05/0.521, allocations: 53.02 kB / 0.5223 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.521, allocations: 7.953 kB / 0.5223 GB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.521, allocations: 3.812 kB / 0.5223 GB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.521, allocations: 0 / 0.5223 GB, free: 8.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.5215, allocations: 288.9 kB / 0.5226 GB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.5216, allocations: 51.75 kB / 0.5226 GB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.508e-05/0.5216, allocations: 20.22 kB / 0.5226 GB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.5217, allocations: 7.656 kB / 0.5226 GB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/0.5218, allocations: 65.92 kB / 0.5227 GB, free: 8.121 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.5218, allocations: 0 / 0.5227 GB, free: 8.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004625/0.5223, allocations: 147.8 kB / 0.5228 GB, free: 8.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.5223, allocations: 51.41 kB / 0.5229 GB, free: 8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.5224, allocations: 166.9 kB / 0.5231 GB, free: 7.891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.5225, allocations: 25.7 kB / 0.5231 GB, free: 7.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.5225, allocations: 107 kB / 0.5232 GB, free: 7.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.5226, allocations: 18.69 kB / 0.5232 GB, free: 7.754 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.5226, allocations: 0 / 0.5232 GB, free: 7.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.162e-05/0.5226, allocations: 325.9 kB / 0.5235 GB, free: 7.438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.5227, allocations: 32.83 kB / 0.5235 GB, free: 7.434 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.5228, allocations: 47.03 kB / 0.5236 GB, free: 7.418 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.5229, allocations: 33.48 kB / 0.5236 GB, free: 7.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5229, allocations: 7.844 kB / 0.5236 GB, free: 7.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001967/0.5231, allocations: 136.9 kB / 0.5238 GB, free: 7.359 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.5231, allocations: 33.66 kB / 0.5238 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.5231, allocations: 7.828 kB / 0.5238 GB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.5231, allocations: 0 / 0.5238 GB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.5232, allocations: 15.83 kB / 0.5238 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.391e-06/0.5233, allocations: 3.875 kB / 0.5238 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.5233, allocations: 11.88 kB / 0.5238 GB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.5233, allocations: 10.47 kB / 0.5238 GB, free: 7.305 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 6.938e-05/0.5234, allocations: 112.8 kB / 0.5239 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.5234, allocations: 11.62 kB / 0.524 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.5236, allocations: 112.8 kB / 0.5241 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5237, allocations: 7.797 kB / 0.5241 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5237, allocations: 0 / 0.5241 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5237, allocations: 3.984 kB / 0.5241 GB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.524, allocations: 380.2 kB / 0.5244 GB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.524, allocations: 4.031 kB / 0.5244 GB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.17e-05/0.5241, allocations: 15.67 kB / 0.5245 GB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.5241, allocations: 3.953 kB / 0.5245 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.5241, allocations: 3.844 kB / 0.5245 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5241, allocations: 0 / 0.5245 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5241, allocations: 0 / 0.5245 GB, free: 6.797 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.5243, allocations: 214.2 kB / 0.5247 GB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.5243, allocations: 104.3 kB / 0.5248 GB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.5244, allocations: 3.906 kB / 0.5248 GB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.5245, allocations: 3.984 kB / 0.5248 GB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.5245, allocations: 3.875 kB / 0.5248 GB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.5245, allocations: 6.594 kB / 0.5248 GB, free: 6.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.652e-05/0.5246, allocations: 136.9 kB / 0.5249 GB, free: 6.422 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5246, allocations: 0 / 0.5249 GB, free: 6.422 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.5249, allocations: 37.77 kB / 0.5249 GB, free: 6.414 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.0008517/0.5258, allocations: 355.2 kB / 0.5253 GB, free: 6.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.526, allocations: 157.6 kB / 0.5254 GB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.526, allocations: 0 / 0.5254 GB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.5261, allocations: 32.56 kB / 0.5255 GB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.5263, allocations: 23.73 kB / 0.5255 GB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.5267, allocations: 148.3 kB / 0.5256 GB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001836/0.5269, allocations: 0.71 MB / 0.5263 GB, free: 5.277 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.5269, allocations: 20.22 kB / 0.5263 GB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.527, allocations: 19.12 kB / 0.5264 GB, free: 5.258 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.527, allocations: 0 / 0.5264 GB, free: 5.258 MB / 346.7 MB Notification: Performance of Templates: time 0.003974/0.531, allocations: 1.652 MB / 0.528 GB, free: 4.43 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)