Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.000986/0.000986, allocations: 170.3 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.369/1.369, allocations: 170.6 MB / 183.8 MB, free: 11.41 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.001589/0.001589, allocations: 103.5 kB / 223.2 MB, free: 4.047 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.1945/0.1945, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.651e-05/2.655e-05, allocations: 16 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08382/0.08387, allocations: 48.7 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/0.4274, allocations: 75.76 MB / 481.5 MB, free: 18.56 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.4278, allocations: 69.83 kB / 481.5 MB, free: 18.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01096/0.4388, allocations: 4.22 MB / 485.8 MB, free: 18.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4388, allocations: 3.875 kB / 485.8 MB, free: 18.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.4388, allocations: 0 / 485.8 MB, free: 18.04 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.0003798/0.4392, allocations: 425.6 kB / 486.2 MB, free: 17.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4393, allocations: 7.75 kB / 486.2 MB, free: 17.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.4393, allocations: 15.66 kB / 486.2 MB, free: 17.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.4396, allocations: 195.5 kB / 486.4 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.4396, allocations: 3.875 kB / 486.4 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.4396, allocations: 3.438 kB / 486.4 MB, free: 17.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.4397, allocations: 46.12 kB / 486.4 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4398, allocations: 0 / 486.4 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.4398, allocations: 3.938 kB / 486.4 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.4398, allocations: 0 / 486.4 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.459e-05/0.4399, allocations: 13.56 kB / 486.5 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.4402, allocations: 310.6 kB / 486.8 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.4404, allocations: 44.77 kB / 486.8 MB, free: 17.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.4404, allocations: 8.703 kB / 486.8 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.4404, allocations: 7.922 kB / 486.8 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001183/0.4406, allocations: 63.86 kB / 486.9 MB, free: 17.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.4406, allocations: 4 kB / 486.9 MB, free: 17.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003525/0.4409, allocations: 116.2 kB / 487 MB, free: 16.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.441, allocations: 51.41 kB / 487.1 MB, free: 16.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.4411, allocations: 195.5 kB / 487.2 MB, free: 16.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.4412, allocations: 25.7 kB / 487.3 MB, free: 16.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.4412, allocations: 112.9 kB / 487.4 MB, free: 16.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.4412, allocations: 18.41 kB / 487.4 MB, free: 16.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/0.4412, allocations: 0 / 487.4 MB, free: 16.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.471e-05/0.4413, allocations: 323.9 kB / 487.7 MB, free: 16.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.025e-05/0.4414, allocations: 18.66 kB / 487.7 MB, free: 16.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.4414, allocations: 24.78 kB / 487.8 MB, free: 16.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.546e-05/0.4415, allocations: 55.94 kB / 487.8 MB, free: 16.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.4415, allocations: 0 / 487.8 MB, free: 16.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001446/0.4416, allocations: 133.2 kB / 487.9 MB, free: 16.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.4417, allocations: 36.38 kB / 488 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4417, allocations: 0 / 488 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4417, allocations: 0 / 488 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.922e-05/0.4417, allocations: 7.781 kB / 488 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4417, allocations: 7.875 kB / 488 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.4418, allocations: 6.141 kB / 488 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4418, allocations: 7.859 kB / 488 MB, free: 16.2 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 4.682e-05/0.4419, allocations: 109.2 kB / 488.1 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.4419, allocations: 7.844 kB / 488.1 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001597/0.442, allocations: 93.81 kB / 488.2 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4421, allocations: 0 / 488.2 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4421, allocations: 0 / 488.2 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.4421, allocations: 9.797 kB / 488.2 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.4424, allocations: 368.4 kB / 488.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4424, allocations: 0 / 488.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.4424, allocations: 9.672 kB / 488.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.4424, allocations: 96 / 488.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.4424, allocations: 7.625 kB / 488.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4424, allocations: 0 / 488.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4424, allocations: 0 / 488.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.4426, allocations: 184.3 kB / 488.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.666e-05/0.4426, allocations: 91.11 kB / 488.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.4427, allocations: 1.469 kB / 488.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.4427, allocations: 10.19 kB / 488.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.4428, allocations: 4.266 kB / 488.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.4428, allocations: 6.062 kB / 488.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.4429, allocations: 157.2 kB / 489 MB, free: 15.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4429, allocations: 1.438 kB / 489 MB, free: 15.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.4432, allocations: 42.03 kB / 489.1 MB, free: 15.39 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.0006918/0.4439, allocations: 327.1 kB / 489.4 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.444, allocations: 116.1 kB / 489.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.444, allocations: 0 / 489.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.63e-05/0.4441, allocations: 15.22 kB / 489.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.4443, allocations: 23.39 kB / 489.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.4446, allocations: 158.4 kB / 489.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.4447, allocations: 0.7065 MB / 490.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.63e-05/0.4448, allocations: 13.59 kB / 490.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.4448, allocations: 17.3 kB / 490.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4448, allocations: 0 / 490.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of Templates: time 0.003567/0.4484, allocations: 1.592 MB / 492 MB, free: 14.14 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)