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.0008198/0.0008198, 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.0007656/0.0007656, allocations: 215.8 kB / 23 MB, free: 2.977 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.9951/0.9951, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.03631/0.03631, allocations: 12.19 MB / 325.4 MB, free: 6.074 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.000502/0.000502, allocations: 19.97 kB / 384.8 MB, free: 10.5 MB / 314.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.795/1.795, allocations: 353.9 MB / 0.7794 GB, free: 4.555 MB / 0.5105 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.00147/0.00147, allocations: 116.3 kB / 1.061 GB, free: 24.53 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.257, allocations: 134.9 MB / 1.193 GB, free: 6.973 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001556/0.2585, allocations: 0.6581 MB / 1.194 GB, free: 6.316 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2599, allocations: 1.363 MB / 1.195 GB, free: 4.941 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.26, allocations: 0 / 1.195 GB, free: 4.941 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.2605, allocations: 187.5 kB / 1.195 GB, free: 4.758 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.2605, allocations: 111.7 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.261, allocations: 237.7 kB / 1.195 GB, free: 4.418 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.2614, allocations: 479.8 kB / 1.196 GB, free: 3.949 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.168e-05/0.2615, allocations: 7.984 kB / 1.196 GB, free: 3.941 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.2616, allocations: 211.6 kB / 1.196 GB, free: 3.734 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.2619, allocations: 223.6 kB / 1.196 GB, free: 3.516 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.2619, allocations: 24 kB / 1.196 GB, free: 3.492 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.2621, allocations: 99.91 kB / 1.196 GB, free: 3.395 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.2624, allocations: 267.4 kB / 1.197 GB, free: 3.133 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.2625, allocations: 135.4 kB / 1.197 GB, free: 3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.2629, allocations: 478.5 kB / 1.197 GB, free: 2.531 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2629, allocations: 7.938 kB / 1.197 GB, free: 2.523 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2629, allocations: 0 / 1.197 GB, free: 2.523 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.2629, allocations: 0 / 1.197 GB, free: 2.523 MB / 0.823 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.0007331/0.2636, allocations: 0.5708 MB / 1.198 GB, free: 1.922 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.2637, allocations: 12.03 kB / 1.198 GB, free: 1.91 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.214e-05/0.2638, allocations: 32.8 kB / 1.198 GB, free: 1.879 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.2641, allocations: 326.5 kB / 1.198 GB, free: 1.531 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2641, allocations: 12.38 kB / 1.198 GB, free: 1.52 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.2642, allocations: 20.38 kB / 1.198 GB, free: 1.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.2644, allocations: 196.6 kB / 1.198 GB, free: 1.293 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2644, allocations: 3.938 kB / 1.198 GB, free: 1.289 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.2645, allocations: 0 / 1.198 GB, free: 1.289 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2645, allocations: 0 / 1.198 GB, free: 1.289 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.2646, allocations: 115.9 kB / 1.198 GB, free: 1.176 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.2649, allocations: 270.9 kB / 1.199 GB, free: 0.875 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.2652, allocations: 315.6 kB / 1.199 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.2653, allocations: 122.6 kB / 1.199 GB, free: 420 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.2653, allocations: 4 kB / 1.199 GB, free: 416 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.2656, allocations: 281.6 kB / 1.199 GB, free: 112 kB / 0.823 GB Notification: Performance of pre-optimization done (n=18): time 1.001e-06/0.2656, allocations: 0 / 1.199 GB, free: 112 kB / 0.823 GB Notification: Performance of matching and sorting (n=18): time 0.0005987/0.2662, allocations: 0.4894 MB / 1.2 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.2663, allocations: 118.8 kB / 1.2 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.2666, allocations: 396.5 kB / 1.2 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.2666, allocations: 45.69 kB / 1.2 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 9.881e-05/0.2667, allocations: 148.8 kB / 1.201 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 3.759e-05/0.2668, allocations: 47.7 kB / 1.201 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2669, allocations: 113.6 kB / 1.201 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.267, allocations: 342.8 kB / 1.201 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.2671, allocations: 91.95 kB / 1.201 GB, free: 14.27 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.2676, allocations: 1.076 MB / 1.202 GB, free: 12.92 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.2678, allocations: 257.5 kB / 1.202 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.2678, allocations: 4 kB / 1.202 GB, free: 12.61 MB / 0.8387 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003268/0.2682, allocations: 337 kB / 1.203 GB, free: 12.28 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2682, allocations: 5.25 kB / 1.203 GB, free: 12.27 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2682, allocations: 8.344 kB / 1.203 GB, free: 12.27 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2682, allocations: 12 kB / 1.203 GB, free: 12.25 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.2683, allocations: 31.92 kB / 1.203 GB, free: 12.22 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.2683, allocations: 4 kB / 1.203 GB, free: 12.22 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/0.2687, allocations: 76.7 kB / 1.203 GB, free: 12.14 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.2687, allocations: 12 kB / 1.203 GB, free: 12.13 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.0001532/0.2689, allocations: 195.7 kB / 1.203 GB, free: 11.93 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.2689, allocations: 27.81 kB / 1.203 GB, free: 11.91 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.2689, allocations: 37.83 kB / 1.203 GB, free: 11.87 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2689, allocations: 4 kB / 1.203 GB, free: 11.87 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2689, allocations: 0 / 1.203 GB, free: 11.87 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2689, allocations: 0 / 1.203 GB, free: 11.87 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.2691, allocations: 205.2 kB / 1.203 GB, free: 11.64 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2691, allocations: 4 kB / 1.203 GB, free: 11.63 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-06/0.2691, allocations: 7.922 kB / 1.203 GB, free: 11.62 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2691, allocations: 4 kB / 1.203 GB, free: 11.62 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2691, allocations: 7.938 kB / 1.203 GB, free: 11.61 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.2691, allocations: 7.938 kB / 1.203 GB, free: 11.61 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2691, allocations: 0 / 1.203 GB, free: 11.61 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.2695, allocations: 438.4 kB / 1.204 GB, free: 11.15 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.2695, allocations: 31.78 kB / 1.204 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.2696, allocations: 0 / 1.204 GB, free: 11.12 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.2696, allocations: 11.94 kB / 1.204 GB, free: 11.11 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.2697, allocations: 19.97 kB / 1.204 GB, free: 11.09 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.2697, allocations: 8 kB / 1.204 GB, free: 11.08 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.0001997/0.2699, allocations: 291 kB / 1.204 GB, free: 10.8 MB / 0.8387 GB Notification: Performance of sort global known variables: time 8e-08/0.2699, allocations: 4 kB / 1.204 GB, free: 10.8 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002542/0.2701, allocations: 75.92 kB / 1.204 GB, free: 10.72 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.0001772/0.2703, allocations: 135.1 kB / 1.204 GB, free: 10.58 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.2706, allocations: 261.6 kB / 1.205 GB, free: 10.32 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2706, allocations: 0 / 1.205 GB, free: 10.32 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.2708, allocations: 148.6 kB / 1.205 GB, free: 10.18 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.271, allocations: 36.58 kB / 1.205 GB, free: 10.14 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.2717, allocations: 0.6092 MB / 1.205 GB, free: 9.492 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.2718, allocations: 154.9 kB / 1.206 GB, free: 9.324 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.2718, allocations: 31.42 kB / 1.206 GB, free: 9.293 MB / 0.8387 GB Notification: Performance of SimCode: time 6.42e-07/0.2718, allocations: 0 / 1.206 GB, free: 9.293 MB / 0.8387 GB Notification: Performance of Templates: time 0.004658/0.2765, allocations: 4.4 MB / 1.21 GB, free: 4.957 MB / 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: 8.223998292349279] Failed to read output from testmodel.py, exit status != 0: 0.2820998150855303 0.290440049 0.025856439000000002 Calling exit ...