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.0008832/0.0008832, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001008/0.001008, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 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 1.01/1.01, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.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-535:34: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-535:42: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.8557/0.8557, allocations: 154.9 MB / 415.1 MB, free: 256 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 3.938 kB / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.959e-05/2.151e-05, allocations: 3.156 kB / 480.4 MB, free: 6.555 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001617/0.001639, allocations: 0.6698 MB / 481 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.003412, allocations: 1.4 MB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.133e-05/0.003474, allocations: 0 / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004992/0.003973, allocations: 194.1 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.004107, allocations: 116.5 kB / 482.7 MB, free: 4.227 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.004814, allocations: 240.5 kB / 483 MB, free: 3.996 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000549/0.005363, allocations: 489.1 kB / 483.4 MB, free: 3.531 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.005406, allocations: 7.984 kB / 483.5 MB, free: 3.523 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002947/0.005701, allocations: 243.7 kB / 483.7 MB, free: 3.285 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.005979, allocations: 172.5 kB / 483.9 MB, free: 3.117 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.204e-05/0.006041, allocations: 21.16 kB / 483.9 MB, free: 3.098 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.006258, allocations: 95.83 kB / 484 MB, free: 3.004 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.006493, allocations: 183.6 kB / 484.2 MB, free: 2.824 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.006638, allocations: 121.3 kB / 484.3 MB, free: 2.707 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.007131, allocations: 422.8 kB / 484.7 MB, free: 2.293 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.007133, allocations: 0.5625 kB / 484.7 MB, free: 2.293 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.007133, allocations: 3.031 kB / 484.7 MB, free: 2.293 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.007138, allocations: 0 / 484.7 MB, free: 2.293 MB / 442.7 MB 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.0008271/0.007965, allocations: 0.5177 MB / 485.2 MB, free: 1.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.007999, allocations: 8.031 kB / 485.2 MB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.521e-05/0.008094, allocations: 24.91 kB / 485.2 MB, free: 1.719 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003715/0.008466, allocations: 249.8 kB / 485.5 MB, free: 1.449 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.008486, allocations: 12.38 kB / 485.5 MB, free: 1.438 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/0.008553, allocations: 29.17 kB / 485.5 MB, free: 1.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.008741, allocations: 99.56 kB / 485.6 MB, free: 1.297 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.008749, allocations: 1.219 kB / 485.6 MB, free: 1.297 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.008766, allocations: 4.375 kB / 485.6 MB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.008774, allocations: 1.406 kB / 485.6 MB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.008844, allocations: 44.98 kB / 485.7 MB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002179/0.009061, allocations: 131.7 kB / 485.8 MB, free: 1.094 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.009285, allocations: 135.6 kB / 485.9 MB, free: 0.9297 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.009354, allocations: 39.19 kB / 486 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-06/0.009359, allocations: 4.594 kB / 486 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006058/0.009965, allocations: 223.8 kB / 486.2 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.009967, allocations: 0 / 486.2 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004028/0.01037, allocations: 195.9 kB / 486.4 MB, free: 452 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.01044, allocations: 116.4 kB / 486.5 MB, free: 312 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.01069, allocations: 278.9 kB / 486.8 MB, free: 28 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.01075, allocations: 37.7 kB / 486.8 MB, free: 15.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.01084, allocations: 121.4 kB / 486.9 MB, free: 15.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.01088, allocations: 31.8 kB / 487 MB, free: 15.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.01102, allocations: 98.47 kB / 487.1 MB, free: 15.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.01113, allocations: 346.7 kB / 487.4 MB, free: 15.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.924e-05/0.01119, allocations: 38.61 kB / 487.4 MB, free: 15.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.0117, allocations: 0.9391 MB / 488.4 MB, free: 14.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.01191, allocations: 209.8 kB / 488.6 MB, free: 13.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.01191, allocations: 0 / 488.6 MB, free: 13.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003083/0.01222, allocations: 205.4 kB / 488.8 MB, free: 13.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.01224, allocations: 9.062 kB / 488.8 MB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01224, allocations: 3.938 kB / 488.8 MB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.01226, allocations: 8.938 kB / 488.8 MB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.01242, allocations: 43.84 kB / 488.8 MB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01242, allocations: 8 kB / 488.8 MB, free: 13.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.0128, allocations: 57.38 kB / 488.9 MB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.01282, allocations: 20.81 kB / 488.9 MB, free: 13.52 MB / 458.7 MB 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.0001631/0.01299, allocations: 151.6 kB / 489.1 MB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.01303, allocations: 19.97 kB / 489.1 MB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.01309, allocations: 30.7 kB / 489.1 MB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01309, allocations: 4 kB / 489.1 MB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.0131, allocations: 0.5 kB / 489.1 MB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.01311, allocations: 4 kB / 489.1 MB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.01329, allocations: 130.3 kB / 489.3 MB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.01329, allocations: 1.281 kB / 489.3 MB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.01331, allocations: 11.92 kB / 489.3 MB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01331, allocations: 0 / 489.3 MB, free: 13.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.01333, allocations: 8 kB / 489.3 MB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01333, allocations: 0.9375 kB / 489.3 MB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.01333, allocations: 0 / 489.3 MB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.01362, allocations: 199.3 kB / 489.5 MB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.01366, allocations: 15.86 kB / 489.5 MB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.01369, allocations: 7.984 kB / 489.5 MB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.01377, allocations: 4 kB / 489.5 MB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.01382, allocations: 28.69 kB / 489.5 MB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.01384, allocations: 4 kB / 489.5 MB, free: 12.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.01399, allocations: 109.2 kB / 489.6 MB, free: 12.76 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01399, allocations: 0 / 489.6 MB, free: 12.76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004036/0.0144, allocations: 81.66 kB / 489.7 MB, free: 12.68 MB / 458.7 MB 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.0002288/0.01463, allocations: 112.3 kB / 489.8 MB, free: 12.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.01487, allocations: 153 kB / 490 MB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.01488, allocations: 5.688 kB / 490 MB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.01497, allocations: 68.75 kB / 490.1 MB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.01516, allocations: 35.55 kB / 490.1 MB, free: 12.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.01582, allocations: 464 kB / 490.5 MB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.658e-05/0.0159, allocations: 99.36 kB / 490.6 MB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.016, allocations: 36.11 kB / 490.7 MB, free: 11.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.01622, allocations: 113.2 kB / 490.8 MB, free: 11.56 MB / 458.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01622, allocations: 0 / 490.8 MB, free: 11.56 MB / 458.7 MB Notification: Performance of Templates: time 0.01003/0.02624, allocations: 5.812 MB / 496.6 MB, free: 6.125 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8533759051933885]