Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007237/0.0007237, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007227/0.0007227, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8651/0.8651, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7026/0.7026, allocations: 203.8 MB / 0.5049 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 71.91 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4033, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001238/0.4045, allocations: 0.656 MB / 0.8197 GB, free: 0.9219 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.4056, allocations: 1.356 MB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.4057, allocations: 7.938 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.4061, allocations: 180.6 kB / 0.8212 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.718e-05/0.4062, allocations: 111.6 kB / 0.8213 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.4067, allocations: 236.9 kB / 0.8215 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.4071, allocations: 493.8 kB / 0.822 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.4071, allocations: 6.25 kB / 0.822 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000164/0.4073, allocations: 205.9 kB / 0.8222 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.4076, allocations: 229.5 kB / 0.8224 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.153e-05/0.4076, allocations: 20.56 kB / 0.8224 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.4078, allocations: 96.02 kB / 0.8225 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.4081, allocations: 269.2 kB / 0.8228 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4082, allocations: 133.6 kB / 0.8229 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004654/0.4087, allocations: 486.7 kB / 0.8233 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4087, allocations: 0.5156 kB / 0.8233 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4087, allocations: 0 / 0.8233 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.4087, allocations: 1.125 kB / 0.8234 GB, free: 15.2 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007662/0.4094, allocations: 0.5832 MB / 0.8239 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4095, allocations: 10.19 kB / 0.8239 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.4096, allocations: 31.09 kB / 0.824 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.41, allocations: 330.6 kB / 0.8243 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.41, allocations: 12.62 kB / 0.8243 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.41, allocations: 22.22 kB / 0.8243 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.4103, allocations: 191.2 kB / 0.8245 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.4103, allocations: 1.594 kB / 0.8245 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.4103, allocations: 4.547 kB / 0.8245 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4103, allocations: 1.312 kB / 0.8245 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.4104, allocations: 110.8 kB / 0.8246 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.4107, allocations: 268.6 kB / 0.8249 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.411, allocations: 311.3 kB / 0.8252 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.4111, allocations: 125.8 kB / 0.8253 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.4112, allocations: 6.281 kB / 0.8253 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003531/0.4115, allocations: 281.1 kB / 0.8256 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.4115, allocations: 0 / 0.8256 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006275/0.4121, allocations: 0.495 MB / 0.826 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.4122, allocations: 115.2 kB / 0.8261 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.4125, allocations: 400.3 kB / 0.8265 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.593e-05/0.4126, allocations: 41.03 kB / 0.8266 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4127, allocations: 158.9 kB / 0.8267 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.4127, allocations: 34.09 kB / 0.8267 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.4128, allocations: 117.8 kB / 0.8269 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.4129, allocations: 344.4 kB / 0.8272 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.949e-05/0.413, allocations: 82.25 kB / 0.8273 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/0.4135, allocations: 1.1 MB / 0.8283 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.4138, allocations: 255.9 kB / 0.8286 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4138, allocations: 1.562 kB / 0.8286 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003497/0.4141, allocations: 332.3 kB / 0.8289 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4141, allocations: 6.25 kB / 0.8289 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4141, allocations: 4.531 kB / 0.8289 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.4142, allocations: 13.19 kB / 0.8289 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.4143, allocations: 33.33 kB / 0.829 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.4143, allocations: 6.188 kB / 0.829 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.4147, allocations: 71.14 kB / 0.829 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.4147, allocations: 10.72 kB / 0.829 GB, free: 11.38 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.4149, allocations: 195.5 kB / 0.8292 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.415, allocations: 30.05 kB / 0.8293 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.415, allocations: 37.11 kB / 0.8293 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.415, allocations: 6.781 kB / 0.8293 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.415, allocations: 1.094 kB / 0.8293 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.415, allocations: 1.75 kB / 0.8293 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.4152, allocations: 204.6 kB / 0.8295 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4153, allocations: 1.203 kB / 0.8295 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.4153, allocations: 8.016 kB / 0.8295 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4153, allocations: 2.484 kB / 0.8295 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.4153, allocations: 9.422 kB / 0.8295 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.4153, allocations: 14.08 kB / 0.8295 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.4153, allocations: 1.156 kB / 0.8295 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005067/0.4158, allocations: 430.5 kB / 0.8299 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.4158, allocations: 30.75 kB / 0.83 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.4159, allocations: 7.922 kB / 0.83 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.678e-05/0.4159, allocations: 6.875 kB / 0.83 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.416, allocations: 24.12 kB / 0.83 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.416, allocations: 12.73 kB / 0.83 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002248/0.4162, allocations: 287.5 kB / 0.8303 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4162, allocations: 1.062 kB / 0.8303 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003078/0.4165, allocations: 80.83 kB / 0.8304 GB, free: 10.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000182/0.4167, allocations: 131 kB / 0.8305 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003263/0.417, allocations: 246.4 kB / 0.8307 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.417, allocations: 0 / 0.8307 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.4172, allocations: 151.2 kB / 0.8309 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.4174, allocations: 31.06 kB / 0.8309 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007438/0.4181, allocations: 0.6085 MB / 0.8315 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.4183, allocations: 158.9 kB / 0.8317 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.4183, allocations: 29.84 kB / 0.8317 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of SimCode: time 7.52e-07/0.4183, allocations: 1.188 kB / 0.8317 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.005695/0.424, allocations: 4.413 MB / 0.836 GB, free: 8.91 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.765782834030688] Failed to read output from testmodel.py, exit status != 0: 0.43054022872820497 0.43852774000000005 0.028022141 Calling exit ...