Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009258/0.0009259, allocations: 164.8 kB / 7.638 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.315/1.315, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001599/0.001599, allocations: 103.5 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1963/0.1963, allocations: 37.98 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.392e-05, allocations: 6.031 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 48.73 MB / 398.7 MB, free: 5.328 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3712/0.5061, allocations: 75.11 MB / 473.9 MB, free: 18.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.5063, allocations: 69.02 kB / 473.9 MB, free: 18.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01143/0.5178, allocations: 3.975 MB / 477.9 MB, free: 17.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5178, allocations: 0 / 477.9 MB, free: 17.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.5179, allocations: 1.094 kB / 477.9 MB, free: 17.52 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004066/0.5183, allocations: 411.6 kB / 478.3 MB, free: 17.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.5183, allocations: 9.25 kB / 478.3 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.5184, allocations: 10.58 kB / 478.3 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.5186, allocations: 198.2 kB / 478.5 MB, free: 16.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5186, allocations: 4.906 kB / 478.5 MB, free: 16.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.5187, allocations: 2.219 kB / 478.5 MB, free: 16.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.941e-05/0.5187, allocations: 19.98 kB / 478.5 MB, free: 16.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.973e-05/0.5188, allocations: 49.7 kB / 478.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.5188, allocations: 1.281 kB / 478.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.5189, allocations: 0 / 478.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5189, allocations: 0 / 478.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.5192, allocations: 269.6 kB / 478.8 MB, free: 16.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.5194, allocations: 47.16 kB / 478.9 MB, free: 16.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/0.5195, allocations: 10.36 kB / 478.9 MB, free: 16.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.5195, allocations: 0 / 478.9 MB, free: 16.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.5196, allocations: 65.58 kB / 479 MB, free: 16.53 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.083e-06/0.5196, allocations: 0 / 479 MB, free: 16.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003702/0.52, allocations: 99.17 kB / 479.1 MB, free: 16.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.52, allocations: 58.66 kB / 479.1 MB, free: 16.42 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.5202, allocations: 156.6 kB / 479.3 MB, free: 16.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.5202, allocations: 27.08 kB / 479.3 MB, free: 16.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.5203, allocations: 98.48 kB / 479.4 MB, free: 16.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.5203, allocations: 15.95 kB / 479.4 MB, free: 16.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.5203, allocations: 0 / 479.4 MB, free: 16.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.5204, allocations: 320.7 kB / 479.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.5205, allocations: 22.19 kB / 479.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.5205, allocations: 21.69 kB / 479.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.069e-05/0.5206, allocations: 25.06 kB / 479.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5206, allocations: 2.344 kB / 479.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001622/0.5208, allocations: 97.19 kB / 479.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.5208, allocations: 39.83 kB / 479.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.5208, allocations: 0 / 479.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5208, allocations: 1.375 kB / 479.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.5209, allocations: 8.328 kB / 479.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.5209, allocations: 1.375 kB / 479.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.869e-05/0.5209, allocations: 2.75 kB / 479.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.521, allocations: 8.734 kB / 480 MB, free: 15.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.592e-05/0.521, allocations: 107.7 kB / 480.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.5211, allocations: 12.19 kB / 480.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.5213, allocations: 84.38 kB / 480.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.5213, allocations: 5 kB / 480.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5213, allocations: 0 / 480.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5213, allocations: 5.578 kB / 480.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.5216, allocations: 331.2 kB / 480.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5216, allocations: 0 / 480.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.5216, allocations: 7.562 kB / 480.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5216, allocations: 1.094 kB / 480.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.5216, allocations: 1.25 kB / 480.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.5216, allocations: 0 / 480.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5216, allocations: 4.094 kB / 480.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.5218, allocations: 172 kB / 480.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.5218, allocations: 87.5 kB / 480.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.5219, allocations: 5.219 kB / 480.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/0.5219, allocations: 3.016 kB / 480.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.522, allocations: 8.344 kB / 480.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-06/0.522, allocations: 2.375 kB / 480.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.712e-05/0.5221, allocations: 123.5 kB / 480.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5221, allocations: 0 / 480.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.5224, allocations: 32.77 kB / 480.9 MB, free: 15.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006528/0.523, allocations: 306.8 kB / 481.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.5232, allocations: 111.8 kB / 481.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5232, allocations: 0 / 481.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.476e-05/0.5233, allocations: 16 kB / 481.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.5235, allocations: 15.88 kB / 481.4 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00031/0.5239, allocations: 126.5 kB / 481.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/0.5246, allocations: 0.7056 MB / 482.2 MB, free: 29.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.465e-05/0.5246, allocations: 18.73 kB / 482.2 MB, free: 29.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.5247, allocations: 22.2 kB / 482.2 MB, free: 29.96 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5247, allocations: 0 / 482.2 MB, free: 29.96 MB / 346.7 MB Notification: Performance of Templates: time 0.004343/0.529, allocations: 1.444 MB / 483.7 MB, free: 29.78 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)