Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001543/0.001543, allocations: 164.5 kB / 7.636 MB, free: 1.418 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.467/1.467, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001654/0.001654, allocations: 111.4 kB / 218 MB, free: 8.402 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.2167/0.2167, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.415e-05/1.383e-05, allocations: 5.969 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 48.72 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4278/0.5312, allocations: 75.07 MB / 473.8 MB, free: 17.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.5315, allocations: 66.91 kB / 473.9 MB, free: 17.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01161/0.5431, allocations: 3.878 MB / 477.8 MB, free: 17.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.5431, allocations: 0 / 477.8 MB, free: 17.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.5431, allocations: 1.375 kB / 477.8 MB, free: 17.42 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.0005737/0.5437, allocations: 411.2 kB / 478.2 MB, free: 17.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.799e-05/0.5438, allocations: 13.56 kB / 478.2 MB, free: 17.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.5439, allocations: 12.03 kB / 478.2 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.5442, allocations: 200.5 kB / 478.4 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.5443, allocations: 1.375 kB / 478.4 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.5443, allocations: 2.75 kB / 478.4 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.823e-05/0.5444, allocations: 17.59 kB / 478.4 MB, free: 16.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.5445, allocations: 43.42 kB / 478.4 MB, free: 16.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5445, allocations: 0 / 478.4 MB, free: 16.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.5446, allocations: 5.312 kB / 478.4 MB, free: 16.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.5446, allocations: 0 / 478.4 MB, free: 16.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.545, allocations: 281.9 kB / 478.7 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.5452, allocations: 38.2 kB / 478.8 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.5453, allocations: 14.55 kB / 478.8 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.5453, allocations: 1.375 kB / 478.8 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.5454, allocations: 58.92 kB / 478.8 MB, free: 16.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5454, allocations: 0 / 478.8 MB, free: 16.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004453/0.5459, allocations: 102.3 kB / 478.9 MB, free: 16.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.5459, allocations: 51.41 kB / 479 MB, free: 16.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.5461, allocations: 159.5 kB / 479.1 MB, free: 16.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.5462, allocations: 27.08 kB / 479.2 MB, free: 16.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.5462, allocations: 101.6 kB / 479.3 MB, free: 16.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.5463, allocations: 12.86 kB / 479.3 MB, free: 16.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-06/0.5463, allocations: 1.375 kB / 479.3 MB, free: 16.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.5464, allocations: 319.1 kB / 479.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.319e-05/0.5464, allocations: 25.75 kB / 479.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.5465, allocations: 23.77 kB / 479.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.5465, allocations: 23.3 kB / 479.7 MB, free: 15.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5465, allocations: 0 / 479.7 MB, free: 15.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001674/0.5467, allocations: 89.84 kB / 479.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.5467, allocations: 38.16 kB / 479.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5468, allocations: 0 / 479.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5468, allocations: 0 / 479.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.963e-05/0.5468, allocations: 13.66 kB / 479.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.5468, allocations: 1.25 kB / 479.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.5469, allocations: 12.31 kB / 479.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.5469, allocations: 6.828 kB / 479.8 MB, free: 15.69 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.768e-05/0.547, allocations: 108.6 kB / 479.9 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.547, allocations: 8.375 kB / 479.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.5472, allocations: 80.66 kB / 480 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.5473, allocations: 1.312 kB / 480 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5473, allocations: 0 / 480 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5473, allocations: 5.531 kB / 480 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.5476, allocations: 338.3 kB / 480.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5476, allocations: 0 / 480.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.5476, allocations: 8.828 kB / 480.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.5476, allocations: 0 / 480.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.5477, allocations: 1.25 kB / 480.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.5477, allocations: 1.406 kB / 480.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.5477, allocations: 1.594 kB / 480.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.5479, allocations: 182.7 kB / 480.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.5479, allocations: 91.45 kB / 480.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.548, allocations: 5.109 kB / 480.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.548, allocations: 2.281 kB / 480.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.5481, allocations: 4.688 kB / 480.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.5481, allocations: 2.344 kB / 480.6 MB, free: 15.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.66e-05/0.5482, allocations: 124.2 kB / 480.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5482, allocations: 0 / 480.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.5485, allocations: 36.41 kB / 480.8 MB, free: 14.93 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.000614/0.5491, allocations: 302.5 kB / 481.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.5493, allocations: 107.7 kB / 481.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5493, allocations: 0 / 481.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.5493, allocations: 16.5 kB / 481.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.5495, allocations: 16.2 kB / 481.2 MB, free: 14.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.5498, allocations: 129 kB / 481.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.5505, allocations: 0.709 MB / 482.1 MB, free: 29.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.636e-05/0.5506, allocations: 7.719 kB / 482.1 MB, free: 29.87 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.5506, allocations: 16.27 kB / 482.1 MB, free: 29.86 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5506, allocations: 0 / 482.1 MB, free: 29.86 MB / 346.7 MB Notification: Performance of Templates: time 0.003827/0.5545, allocations: 1.451 MB / 483.5 MB, free: 29.67 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)