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.04344/0.04344, allocations: 9.129 MB / 28.99 MB, free: 0.8203 MB / 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.001313/0.001313, allocations: 95.2 kB / 35.33 MB, free: 1.078 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.001998/0.001998, allocations: 164.8 kB / 38.73 MB, free: 2.492 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.9481/0.9481, allocations: 177.1 MB / 219.2 MB, free: 10.1 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.004059/0.004059, allocations: 0.8294 MB / 276.5 MB, free: 0.7266 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.644/1.644, allocations: 274.9 MB / 0.5419 GB, free: 0.6055 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.172e-06/1.172e-06, allocations: 0 / 0.6378 GB, free: 14.12 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.44e-05, allocations: 6.312 kB / 0.6378 GB, free: 14.11 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.SignalRanker): time 0.001946/0.001961, allocations: 1.65 MB / 0.6395 GB, free: 12.45 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.0007538/0.002715, allocations: 0.6347 MB / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.00277, allocations: 0 / 0.6401 GB, free: 11.81 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 9.016e-05/0.00286, allocations: 19.86 kB / 0.6401 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 4.325e-05/0.002903, allocations: 15.81 kB / 0.6401 GB, free: 11.77 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.00322, allocations: 107.5 kB / 0.6402 GB, free: 11.67 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.003334, allocations: 99.64 kB / 0.6403 GB, free: 11.57 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.003409, allocations: 12.2 kB / 0.6403 GB, free: 11.55 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.00354, allocations: 59.89 kB / 0.6404 GB, free: 11.5 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.003601, allocations: 43.88 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.003617, allocations: 4 kB / 0.6404 GB, free: 11.45 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.003742, allocations: 111.8 kB / 0.6405 GB, free: 11.34 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.003774, allocations: 23.91 kB / 0.6406 GB, free: 11.32 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.003805, allocations: 23.92 kB / 0.6406 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.003955, allocations: 143.6 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 1.372e-06/0.003957, allocations: 0 / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003957, allocations: 3.938 kB / 0.6407 GB, free: 11.15 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.00396, allocations: 3.938 kB / 0.6407 GB, free: 11.14 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.0003793/0.00434, allocations: 350.1 kB / 0.6411 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.004372, allocations: 11.98 kB / 0.6411 GB, free: 10.76 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.00451, allocations: 36.89 kB / 0.6411 GB, free: 10.73 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.004634, allocations: 129.6 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.004643, allocations: 8.375 kB / 0.6412 GB, free: 10.57 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.004653, allocations: 4.375 kB / 0.6412 GB, free: 10.56 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.004778, allocations: 93.59 kB / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004785, allocations: 192 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.004792, allocations: 384 / 0.6413 GB, free: 10.46 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.00481, allocations: 11.92 kB / 0.6413 GB, free: 10.45 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.107e-05/0.004841, allocations: 12 kB / 0.6413 GB, free: 10.44 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.005105, allocations: 209.8 kB / 0.6415 GB, free: 10.21 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 6.48e-05/0.00517, allocations: 74.42 kB / 0.6416 GB, free: 10.13 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.193e-05/0.005192, allocations: 12.84 kB / 0.6416 GB, free: 10.12 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.005203, allocations: 4 kB / 0.6416 GB, free: 10.11 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.957e-05/0.005292, allocations: 74.19 kB / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.005293, allocations: 112 / 0.6417 GB, free: 10.03 MB / 0.6043 GB Notification: Performance of matching and sorting (n=9): time 0.0001254/0.005419, allocations: 81.55 kB / 0.6418 GB, free: 9.941 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.005442, allocations: 55.41 kB / 0.6418 GB, free: 9.875 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.438e-05/0.005507, allocations: 146.6 kB / 0.642 GB, free: 9.719 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.005518, allocations: 25.7 kB / 0.642 GB, free: 9.688 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.005555, allocations: 100 kB / 0.6421 GB, free: 9.586 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.005575, allocations: 35.72 kB / 0.6421 GB, free: 9.551 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.005611, allocations: 29.69 kB / 0.6422 GB, free: 9.516 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.005672, allocations: 318.8 kB / 0.6425 GB, free: 9.195 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.313e-05/0.005705, allocations: 40.52 kB / 0.6425 GB, free: 9.148 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.005732, allocations: 45.62 kB / 0.6425 GB, free: 9.098 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.005785, allocations: 68.19 kB / 0.6426 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.005787, allocations: 0 / 0.6426 GB, free: 9.02 MB / 0.6043 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003292/0.006116, allocations: 129 kB / 0.6427 GB, free: 8.875 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.006136, allocations: 29.7 kB / 0.6428 GB, free: 8.84 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.006142, allocations: 3.984 kB / 0.6428 GB, free: 8.836 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.006151, allocations: 4 kB / 0.6428 GB, free: 8.832 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.006223, allocations: 23.92 kB / 0.6428 GB, free: 8.809 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.006225, allocations: 0 / 0.6428 GB, free: 8.809 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.006284, allocations: 15.94 kB / 0.6428 GB, free: 8.793 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.006294, allocations: 7.984 kB / 0.6428 GB, free: 8.785 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 5.892e-05/0.006353, allocations: 120.6 kB / 0.6429 GB, free: 8.656 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.144e-05/0.006364, allocations: 11.94 kB / 0.6429 GB, free: 8.645 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.006385, allocations: 12.77 kB / 0.643 GB, free: 8.633 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.006392, allocations: 4 kB / 0.643 GB, free: 8.629 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.006395, allocations: 4 kB / 0.643 GB, free: 8.625 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.006398, allocations: 4 kB / 0.643 GB, free: 8.621 MB / 0.6043 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.131e-05/0.006469, allocations: 85.84 kB / 0.643 GB, free: 8.52 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00647, allocations: 4 kB / 0.6431 GB, free: 8.516 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.006504, allocations: 15.98 kB / 0.6431 GB, free: 8.5 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.006507, allocations: 3.938 kB / 0.6431 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.006514, allocations: 0 / 0.6431 GB, free: 8.496 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006515, allocations: 4 kB / 0.6431 GB, free: 8.492 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006515, allocations: 0 / 0.6431 GB, free: 8.492 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.841e-05/0.006594, allocations: 90.7 kB / 0.6432 GB, free: 8.383 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.006606, allocations: 15.88 kB / 0.6432 GB, free: 8.367 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.006621, allocations: 3.938 kB / 0.6432 GB, free: 8.363 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.735e-05/0.006659, allocations: 15.98 kB / 0.6432 GB, free: 8.348 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.006693, allocations: 7.984 kB / 0.6432 GB, free: 8.34 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.006698, allocations: 0 / 0.6432 GB, free: 8.34 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 2.251e-05/0.006721, allocations: 36.81 kB / 0.6432 GB, free: 8.301 MB / 0.6043 GB Notification: Performance of sort global known variables: time 5e-08/0.006721, allocations: 0 / 0.6432 GB, free: 8.301 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.0001264/0.006847, allocations: 32 kB / 0.6433 GB, free: 8.27 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.0001007/0.006948, allocations: 116.3 kB / 0.6434 GB, free: 8.148 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.007058, allocations: 121.9 kB / 0.6435 GB, free: 8.008 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.007061, allocations: 0 / 0.6435 GB, free: 8.008 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.007097, allocations: 28.78 kB / 0.6435 GB, free: 7.977 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.822e-05/0.007185, allocations: 15.92 kB / 0.6435 GB, free: 7.961 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.007599, allocations: 226.7 kB / 0.6438 GB, free: 7.707 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.785e-05/0.007626, allocations: 63.34 kB / 0.6438 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of simCode: alias equations: time 3.417e-05/0.007661, allocations: 4 kB / 0.6438 GB, free: 7.621 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.007722, allocations: 63.36 kB / 0.6439 GB, free: 7.559 MB / 0.6043 GB Notification: Performance of SimCode: time 8.01e-07/0.007722, allocations: 4 kB / 0.6439 GB, free: 7.555 MB / 0.6043 GB Notification: Performance of Templates: time 0.002647/0.01037, allocations: 1.485 MB / 0.6453 GB, free: 6.074 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3200102942064404]