Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.00143/0.00143, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001661/0.001661, allocations: 213.8 kB / 22.25 MB, free: 5.129 MB / 14.72 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.06482/0.06482, allocations: 12.18 MB / 324.6 MB, free: 7.258 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0007587/0.0007587, allocations: 32.77 kB / 384.1 MB, free: 46.68 MB / 302.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.476/2.476, allocations: 353.8 MB / 0.7787 GB, free: 1.043 MB / 0.5138 GB " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.004153/0.004153, allocations: 119.9 kB / 1.061 GB, free: 13 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2652, allocations: 134.9 MB / 1.192 GB, free: 6.191 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001877/0.267, allocations: 0.6832 MB / 1.193 GB, free: 5.512 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.269, allocations: 1.398 MB / 1.194 GB, free: 4.102 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.2691, allocations: 4 kB / 1.194 GB, free: 4.098 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0004577/0.2695, allocations: 191.5 kB / 1.194 GB, free: 3.91 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.2697, allocations: 103.7 kB / 1.195 GB, free: 3.809 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.2704, allocations: 242.4 kB / 1.195 GB, free: 3.574 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0005921/0.271, allocations: 495.7 kB / 1.195 GB, free: 3.09 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.271, allocations: 4 kB / 1.195 GB, free: 3.086 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002475/0.2713, allocations: 211.6 kB / 1.195 GB, free: 2.879 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.2717, allocations: 227.6 kB / 1.196 GB, free: 2.656 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 6.751e-05/0.2717, allocations: 20 kB / 1.196 GB, free: 2.637 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.272, allocations: 95.92 kB / 1.196 GB, free: 2.543 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.2723, allocations: 279.3 kB / 1.196 GB, free: 2.27 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.2725, allocations: 147.3 kB / 1.196 GB, free: 2.125 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0005588/0.2731, allocations: 486.4 kB / 1.197 GB, free: 1.648 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2731, allocations: 0 / 1.197 GB, free: 1.648 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2731, allocations: 4 kB / 1.197 GB, free: 1.645 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.2731, allocations: 0 / 1.197 GB, free: 1.645 MB / 0.8263 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.001041/0.2742, allocations: 0.567 MB / 1.197 GB, free: 1.043 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.2742, allocations: 15.98 kB / 1.197 GB, free: 1.027 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.2743, allocations: 28.8 kB / 1.197 GB, free: 1 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006131/0.2749, allocations: 330.4 kB / 1.198 GB, free: 0.6484 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.275, allocations: 12.38 kB / 1.198 GB, free: 0.6367 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.275, allocations: 24.38 kB / 1.198 GB, free: 0.6133 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003445/0.2754, allocations: 196.6 kB / 1.198 GB, free: 416 kB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.2754, allocations: 4.172 kB / 1.198 GB, free: 412 kB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.2754, allocations: 3.938 kB / 1.198 GB, free: 408 kB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2754, allocations: 0 / 1.198 GB, free: 408 kB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.2756, allocations: 111.9 kB / 1.198 GB, free: 296 kB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.2761, allocations: 354.2 kB / 1.198 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.2766, allocations: 315.6 kB / 1.199 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.2768, allocations: 122.6 kB / 1.199 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.2768, allocations: 11.88 kB / 1.199 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004675/0.2773, allocations: 287.4 kB / 1.199 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.2773, allocations: 4 kB / 1.199 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0008853/0.2781, allocations: 0.4894 MB / 1.199 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2782, allocations: 122.7 kB / 1.2 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.2787, allocations: 396.5 kB / 1.2 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.2788, allocations: 41.69 kB / 1.2 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.279, allocations: 148.8 kB / 1.2 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-05/0.279, allocations: 43.73 kB / 1.2 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.2792, allocations: 113.6 kB / 1.2 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.2794, allocations: 346.8 kB / 1.201 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.2795, allocations: 87.95 kB / 1.201 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.2801, allocations: 463.6 kB / 1.201 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.2804, allocations: 257.5 kB / 1.201 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2805, allocations: 0 / 1.201 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000531/0.281, allocations: 325 kB / 1.202 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.281, allocations: 11.94 kB / 1.202 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.281, allocations: 4.406 kB / 1.202 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.281, allocations: 8 kB / 1.202 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.2812, allocations: 35.91 kB / 1.202 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2812, allocations: 4 kB / 1.202 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/0.2819, allocations: 76.78 kB / 1.202 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.282, allocations: 8 kB / 1.202 GB, free: 11.93 MB / 0.8419 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.0002271/0.2822, allocations: 199.7 kB / 1.202 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.2822, allocations: 31.75 kB / 1.202 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.2823, allocations: 37.83 kB / 1.202 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2823, allocations: 4 kB / 1.202 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2823, allocations: 0 / 1.202 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2823, allocations: 3.984 kB / 1.202 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.2826, allocations: 260.5 kB / 1.202 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2826, allocations: 4 kB / 1.202 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.2826, allocations: 7.984 kB / 1.202 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.2826, allocations: 11.94 kB / 1.202 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2826, allocations: 8 kB / 1.202 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2826, allocations: 0 / 1.202 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2827, allocations: 0 / 1.202 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.2833, allocations: 434.5 kB / 1.203 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.2833, allocations: 27.8 kB / 1.203 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.2834, allocations: 11.94 kB / 1.203 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/0.2835, allocations: 4 kB / 1.203 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.2835, allocations: 19.97 kB / 1.203 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.2836, allocations: 8 kB / 1.203 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003622/0.2839, allocations: 295 kB / 1.203 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8e-08/0.2839, allocations: 0 / 1.203 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003883/0.2843, allocations: 75.92 kB / 1.203 GB, free: 10.45 MB / 0.8419 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.0002113/0.2845, allocations: 135 kB / 1.203 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004549/0.285, allocations: 265.4 kB / 1.204 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.285, allocations: 0 / 1.204 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.2852, allocations: 119.8 kB / 1.204 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.2854, allocations: 29.45 kB / 1.204 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009209/0.2863, allocations: 0.5758 MB / 1.204 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.2868, allocations: 0.7597 MB / 1.205 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.2869, allocations: 54.11 kB / 1.205 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.287, allocations: 27.44 kB / 1.205 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.287, allocations: 0 / 1.205 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of Templates: time 0.01023/0.2972, allocations: 5.104 MB / 1.21 GB, free: 3.367 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.33165068179369] Failed to read output from testmodel.py, exit status != 0: 0.3058929592370987 0.32053750400000003 0.04421419 Calling exit ...