Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.conf.json 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.038/0.038, allocations: 9.132 MB / 28.99 MB, free: 408 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.0007955/0.0007955, allocations: 98.58 kB / 35.33 MB, free: 0.9141 MB / 24.77 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.0009359/0.0009359, allocations: 164.2 kB / 38.73 MB, free: 2.371 MB / 24.77 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.8837/0.8837, allocations: 177.2 MB / 219.2 MB, free: 10.07 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003756/0.003756, allocations: 0.8293 MB / 276.5 MB, free: 0.6953 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.607/1.607, allocations: 274.9 MB / 0.5419 GB, free: 0.6367 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.SignalRanker") translateModel(AixLib.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6378 GB, free: 14.21 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.326e-05, allocations: 2.312 kB / 0.6378 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.SignalRanker): time 0.002562/0.002585, allocations: 1.607 MB / 0.6394 GB, free: 12.58 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.003598, allocations: 0.6347 MB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.00366, allocations: 3.938 kB / 0.64 GB, free: 11.94 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.003762, allocations: 7.875 kB / 0.64 GB, free: 11.93 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 6.1e-05/0.003823, allocations: 27.72 kB / 0.64 GB, free: 11.9 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.004244, allocations: 119.6 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.004388, allocations: 99.62 kB / 0.6402 GB, free: 11.69 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 8.789e-05/0.004476, allocations: 12.22 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.004645, allocations: 63.81 kB / 0.6403 GB, free: 11.61 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 7.683e-05/0.004722, allocations: 39.89 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.004741, allocations: 4 kB / 0.6404 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.004873, allocations: 91.91 kB / 0.6404 GB, free: 11.48 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.004918, allocations: 23.91 kB / 0.6405 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.004959, allocations: 27.91 kB / 0.6405 GB, free: 11.43 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.005166, allocations: 151.4 kB / 0.6406 GB, free: 11.28 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.005167, allocations: 8 kB / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005168, allocations: 0 / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.005172, allocations: 0 / 0.6406 GB, free: 11.27 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005069/0.005679, allocations: 350.1 kB / 0.641 GB, free: 10.9 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.005715, allocations: 11.98 kB / 0.641 GB, free: 10.89 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.005907, allocations: 32.91 kB / 0.641 GB, free: 10.86 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.006069, allocations: 137.6 kB / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-06/0.006078, allocations: 384 / 0.6411 GB, free: 10.7 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.006094, allocations: 8.375 kB / 0.6412 GB, free: 10.69 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.006258, allocations: 85.72 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.006265, allocations: 192 / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.006276, allocations: 4.375 kB / 0.6412 GB, free: 10.59 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.006297, allocations: 7.938 kB / 0.6412 GB, free: 10.58 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.00634, allocations: 15.98 kB / 0.6413 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.006693, allocations: 209.7 kB / 0.6415 GB, free: 10.34 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.006799, allocations: 74.48 kB / 0.6415 GB, free: 10.26 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.006834, allocations: 20.84 kB / 0.6416 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.006848, allocations: 0 / 0.6416 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.006988, allocations: 74.14 kB / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.006989, allocations: 0 / 0.6416 GB, free: 10.15 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9): time 0.0002115/0.007201, allocations: 77.66 kB / 0.6417 GB, free: 10.07 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.007234, allocations: 59.34 kB / 0.6418 GB, free: 10 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.62e-05/0.00732, allocations: 138.6 kB / 0.6419 GB, free: 9.852 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.007338, allocations: 29.7 kB / 0.6419 GB, free: 9.816 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.007392, allocations: 104 kB / 0.642 GB, free: 9.711 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.007414, allocations: 23.78 kB / 0.642 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.007462, allocations: 29.7 kB / 0.6421 GB, free: 9.652 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.007543, allocations: 322.8 kB / 0.6424 GB, free: 9.328 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.632e-05/0.00759, allocations: 44.52 kB / 0.6424 GB, free: 9.277 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.007627, allocations: 41.64 kB / 0.6425 GB, free: 9.23 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.007706, allocations: 68.17 kB / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.007708, allocations: 0 / 0.6425 GB, free: 9.152 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001306/0.007839, allocations: 132.9 kB / 0.6426 GB, free: 9.004 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.007863, allocations: 33.81 kB / 0.6427 GB, free: 8.965 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007868, allocations: 3.938 kB / 0.6427 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.00788, allocations: 0 / 0.6427 GB, free: 8.961 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.007971, allocations: 19.98 kB / 0.6427 GB, free: 8.941 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.007974, allocations: 0 / 0.6427 GB, free: 8.941 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.411e-05/0.008048, allocations: 19.88 kB / 0.6427 GB, free: 8.922 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.008061, allocations: 8 kB / 0.6427 GB, free: 8.914 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 7.184e-05/0.008133, allocations: 116.7 kB / 0.6428 GB, free: 8.789 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.00815, allocations: 15.86 kB / 0.6429 GB, free: 8.773 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.008177, allocations: 16.78 kB / 0.6429 GB, free: 8.758 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.00819, allocations: 7.984 kB / 0.6429 GB, free: 8.75 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.008193, allocations: 4 kB / 0.6429 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.008196, allocations: 0 / 0.6429 GB, free: 8.746 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.008299, allocations: 89.86 kB / 0.643 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.0083, allocations: 0 / 0.643 GB, free: 8.641 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.543e-05/0.008345, allocations: 11.98 kB / 0.643 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.008349, allocations: 3.938 kB / 0.643 GB, free: 8.625 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.008357, allocations: 3.984 kB / 0.643 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.008358, allocations: 0 / 0.643 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008359, allocations: 0 / 0.643 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.00847, allocations: 94.7 kB / 0.6431 GB, free: 8.508 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.008483, allocations: 7.953 kB / 0.6431 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.008504, allocations: 3.938 kB / 0.6431 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.557e-05/0.008559, allocations: 15.98 kB / 0.6431 GB, free: 8.48 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.008607, allocations: 19.95 kB / 0.6431 GB, free: 8.461 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.008613, allocations: 0 / 0.6431 GB, free: 8.461 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.869e-05/0.008642, allocations: 24.84 kB / 0.6431 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of sort global known variables: time 6e-08/0.008642, allocations: 0 / 0.6431 GB, free: 8.434 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0002108/0.008853, allocations: 39.94 kB / 0.6432 GB, free: 8.395 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001417/0.008994, allocations: 108.3 kB / 0.6433 GB, free: 8.281 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001656/0.00916, allocations: 121.9 kB / 0.6434 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.009164, allocations: 0 / 0.6434 GB, free: 8.141 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 5.017e-05/0.009214, allocations: 32.83 kB / 0.6434 GB, free: 8.105 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001219/0.009336, allocations: 15.92 kB / 0.6435 GB, free: 8.09 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.009858, allocations: 218.6 kB / 0.6437 GB, free: 7.844 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.636e-05/0.009895, allocations: 67.28 kB / 0.6437 GB, free: 7.758 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 4.75e-05/0.009942, allocations: 11.98 kB / 0.6437 GB, free: 7.746 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.01002, allocations: 67.36 kB / 0.6438 GB, free: 7.68 MB / 0.6043 GB Notification: Performance of SimCode: time 6.81e-07/0.01002, allocations: 0 / 0.6438 GB, free: 7.68 MB / 0.6043 GB Notification: Performance of Templates: time 0.003846/0.01387, allocations: 1.489 MB / 0.6453 GB, free: 6.195 MB / 0.6043 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.sim & ./AixLib_AixLib.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.166152902878821]