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.001231/0.001231, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.001032/0.001032, allocations: 211.8 kB / 23.01 MB, free: 3.113 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.9027/0.9027, allocations: 230.6 MB / 256.8 MB, free: 3.449 MB / 202.7 MB " [Timeout remaining time 179] 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.04583/0.04583, allocations: 12.19 MB / 325.4 MB, free: 3.406 MB / 250.7 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.0004544/0.0004544, allocations: 27.12 kB / 384.9 MB, free: 45.83 MB / 298.7 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 1.647/1.647, allocations: 353.8 MB / 0.7794 GB, free: 13.03 MB / 0.5262 GB " [Timeout remaining time 178] 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.001475/0.001475, allocations: 120.3 kB / 1.061 GB, free: 9.34 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2148, allocations: 134.9 MB / 1.193 GB, free: 2.535 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001371/0.2161, allocations: 0.6827 MB / 1.194 GB, free: 1.855 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2175, allocations: 1.403 MB / 1.195 GB, free: 452 kB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.2175, allocations: 0 / 1.195 GB, free: 452 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004/0.2179, allocations: 191.5 kB / 1.195 GB, free: 260 kB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.218, allocations: 111.7 kB / 1.195 GB, free: 148 kB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005519/0.2186, allocations: 234.2 kB / 1.196 GB, free: 15.92 MB / 0.8387 GB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.219, allocations: 0.4919 MB / 1.196 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.219, allocations: 4 kB / 1.196 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.2192, allocations: 203.8 kB / 1.196 GB, free: 15.22 MB / 0.8387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.2195, allocations: 231.5 kB / 1.196 GB, free: 15 MB / 0.8387 GB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.2195, allocations: 20 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.2197, allocations: 103.8 kB / 1.197 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.22, allocations: 275.4 kB / 1.197 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.2201, allocations: 151.3 kB / 1.197 GB, free: 14.46 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.2205, allocations: 482.5 kB / 1.197 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2205, allocations: 0 / 1.197 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2205, allocations: 4 kB / 1.197 GB, free: 13.98 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2205, allocations: 0 / 1.197 GB, free: 13.98 MB / 0.8387 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.0007238/0.2212, allocations: 0.5592 MB / 1.198 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.2213, allocations: 15.92 kB / 1.198 GB, free: 13.37 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.66e-05/0.2214, allocations: 36.78 kB / 1.198 GB, free: 13.34 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.2217, allocations: 330.4 kB / 1.198 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.2218, allocations: 20.36 kB / 1.198 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.2218, allocations: 20.38 kB / 1.198 GB, free: 12.95 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.222, allocations: 180.7 kB / 1.199 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.222, allocations: 192 / 1.199 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.222, allocations: 3.938 kB / 1.199 GB, free: 12.75 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2221, allocations: 11.92 kB / 1.199 GB, free: 12.74 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.2222, allocations: 103.9 kB / 1.199 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.2225, allocations: 358.2 kB / 1.199 GB, free: 12.24 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.2228, allocations: 315.6 kB / 1.199 GB, free: 11.9 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.2229, allocations: 126.6 kB / 1.199 GB, free: 11.77 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.2229, allocations: 7.922 kB / 1.199 GB, free: 11.76 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003212/0.2233, allocations: 274.3 kB / 1.2 GB, free: 11.47 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=18): time 2.195e-06/0.2233, allocations: 7.922 kB / 1.2 GB, free: 11.46 MB / 0.8387 GB Notification: Performance of matching and sorting (n=18): time 0.000584/0.2238, allocations: 0.4933 MB / 1.2 GB, free: 10.96 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.2239, allocations: 122.7 kB / 1.2 GB, free: 10.82 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.2242, allocations: 396.5 kB / 1.201 GB, free: 10.42 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.2242, allocations: 37.7 kB / 1.201 GB, free: 10.38 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 9.436e-05/0.2243, allocations: 148.8 kB / 1.201 GB, free: 10.23 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.2244, allocations: 47.7 kB / 1.201 GB, free: 10.18 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.2245, allocations: 121.6 kB / 1.201 GB, free: 10.05 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.2246, allocations: 346.8 kB / 1.201 GB, free: 9.707 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.2247, allocations: 83.95 kB / 1.201 GB, free: 9.625 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.225, allocations: 459 kB / 1.202 GB, free: 9.051 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.2252, allocations: 261.4 kB / 1.202 GB, free: 8.746 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2252, allocations: 4 kB / 1.202 GB, free: 8.742 MB / 0.8387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003308/0.2255, allocations: 325.4 kB / 1.202 GB, free: 8.418 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2256, allocations: 12 kB / 1.202 GB, free: 8.406 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.2256, allocations: 4 kB / 1.202 GB, free: 8.402 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.2256, allocations: 4 kB / 1.202 GB, free: 8.398 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.2257, allocations: 31.92 kB / 1.202 GB, free: 8.367 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2257, allocations: 7.938 kB / 1.202 GB, free: 8.359 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.2261, allocations: 72.55 kB / 1.203 GB, free: 8.289 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.2261, allocations: 16 kB / 1.203 GB, free: 8.273 MB / 0.8387 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.0001524/0.2262, allocations: 191.7 kB / 1.203 GB, free: 8.078 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.2263, allocations: 35.75 kB / 1.203 GB, free: 8.043 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.898e-05/0.2263, allocations: 33.89 kB / 1.203 GB, free: 8.012 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2263, allocations: 4 kB / 1.203 GB, free: 8.008 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2263, allocations: 0 / 1.203 GB, free: 8.008 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2263, allocations: 0 / 1.203 GB, free: 8.008 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.2265, allocations: 264.5 kB / 1.203 GB, free: 7.707 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2265, allocations: 4 kB / 1.203 GB, free: 7.703 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-06/0.2265, allocations: 4.234 kB / 1.203 GB, free: 7.699 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.2265, allocations: 3.938 kB / 1.203 GB, free: 7.695 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.2265, allocations: 7.984 kB / 1.203 GB, free: 7.688 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.2265, allocations: 11.94 kB / 1.203 GB, free: 7.676 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2265, allocations: 0 / 1.203 GB, free: 7.676 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.2269, allocations: 440.5 kB / 1.204 GB, free: 7.223 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.2269, allocations: 35.78 kB / 1.204 GB, free: 7.188 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.227, allocations: 3.938 kB / 1.204 GB, free: 7.184 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.343e-05/0.227, allocations: 4 kB / 1.204 GB, free: 7.18 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.2271, allocations: 19.97 kB / 1.204 GB, free: 7.16 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.2271, allocations: 12 kB / 1.204 GB, free: 7.148 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0002018/0.2273, allocations: 287 kB / 1.204 GB, free: 6.871 MB / 0.8387 GB Notification: Performance of sort global known variables: time 9e-08/0.2273, allocations: 7.875 kB / 1.204 GB, free: 6.863 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002703/0.2275, allocations: 79.92 kB / 1.204 GB, free: 6.785 MB / 0.8387 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.0001612/0.2277, allocations: 135.1 kB / 1.204 GB, free: 6.641 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.228, allocations: 251.6 kB / 1.204 GB, free: 6.395 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.228, allocations: 0 / 1.204 GB, free: 6.395 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.2281, allocations: 148.7 kB / 1.204 GB, free: 6.25 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.2284, allocations: 28.64 kB / 1.204 GB, free: 6.223 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006549/0.229, allocations: 0.6161 MB / 1.205 GB, free: 5.566 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.2292, allocations: 0.7597 MB / 1.206 GB, free: 4.781 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/0.2293, allocations: 27.44 kB / 1.206 GB, free: 4.754 MB / 0.8387 GB Notification: Performance of SimCode: time 5.11e-07/0.2293, allocations: 4 kB / 1.206 GB, free: 4.75 MB / 0.8387 GB Notification: Performance of Templates: time 0.004949/0.2342, allocations: 4.341 MB / 1.21 GB, free: 488 kB / 0.8387 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: 7.388362123630941] Failed to read output from testmodel.py, exit status != 0: 0.23989658523350954 0.24802342699999996 0.025842654000000003 Calling exit ...