Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.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.000637/0.000637, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008576/0.001495, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006564/0.0006564, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008877/0.001544, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9995/0.9995, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09067/1.09, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.783/0.783, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3004/1.083, allocations: 49.13 MB / 448.6 MB, free: 5.934 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 450 MB, free: 4.562 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.405e-05, allocations: 2.859 kB / 450 MB, free: 4.559 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002012/0.002036, allocations: 0.8636 MB / 450.9 MB, free: 3.734 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004338/0.006374, allocations: 1.068 MB / 451.9 MB, free: 2.652 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.006434, allocations: 4 kB / 451.9 MB, free: 2.648 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 9.513e-05/0.006529, allocations: 17.08 kB / 452 MB, free: 2.633 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.518e-05/0.006584, allocations: 26.2 kB / 452 MB, free: 2.617 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.006916, allocations: 81.03 kB / 452.1 MB, free: 2.539 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001843/0.0071, allocations: 122.2 kB / 452.2 MB, free: 2.441 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.007235, allocations: 39.7 kB / 452.2 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.007366, allocations: 93.28 kB / 452.3 MB, free: 2.312 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.482e-05/0.007441, allocations: 49.27 kB / 452.4 MB, free: 2.266 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.007467, allocations: 12 kB / 452.4 MB, free: 2.254 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.007635, allocations: 95.84 kB / 452.5 MB, free: 2.16 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.007685, allocations: 27.88 kB / 452.5 MB, free: 2.133 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.007723, allocations: 25.78 kB / 452.5 MB, free: 2.109 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.007941, allocations: 159.4 kB / 452.7 MB, free: 1.953 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.007955, allocations: 0 / 452.7 MB, free: 1.953 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.007957, allocations: 0 / 452.7 MB, free: 1.953 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.007967, allocations: 4 kB / 452.7 MB, free: 1.949 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.003653/0.01162, allocations: 392.7 kB / 453.1 MB, free: 1.547 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.01167, allocations: 8.75 kB / 453.1 MB, free: 1.539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.01173, allocations: 16.92 kB / 453.1 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.01193, allocations: 142.4 kB / 453.2 MB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.01194, allocations: 9.547 kB / 453.2 MB, free: 1.352 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.01196, allocations: 5 kB / 453.2 MB, free: 1.348 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.01224, allocations: 124.5 kB / 453.4 MB, free: 1.219 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.01225, allocations: 4.188 kB / 453.4 MB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.01226, allocations: 3.938 kB / 453.4 MB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.01227, allocations: 0 / 453.4 MB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.01234, allocations: 35.92 kB / 453.4 MB, free: 1.176 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.01285, allocations: 306.9 kB / 453.7 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.01295, allocations: 91.17 kB / 453.8 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.013, allocations: 26.69 kB / 453.8 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.856e-05/0.01306, allocations: 9.75 kB / 453.8 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.01309, allocations: 30.56 kB / 453.9 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.01309, allocations: 0 / 453.9 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002638/0.01335, allocations: 136.3 kB / 454 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.01338, allocations: 51.41 kB / 454 MB, free: 500 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.01349, allocations: 154.8 kB / 454.2 MB, free: 336 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.0135, allocations: 25.7 kB / 454.2 MB, free: 304 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.01355, allocations: 101.7 kB / 454.3 MB, free: 200 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/0.01362, allocations: 75.3 kB / 454.4 MB, free: 124 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.01367, allocations: 29.69 kB / 454.4 MB, free: 88 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.01379, allocations: 335.6 kB / 454.8 MB, free: 15.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.01383, allocations: 22.83 kB / 454.8 MB, free: 15.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.01387, allocations: 20.25 kB / 454.8 MB, free: 15.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.01397, allocations: 70.47 kB / 454.9 MB, free: 15.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01397, allocations: 1.219 kB / 454.9 MB, free: 15.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001523/0.01413, allocations: 104.8 kB / 455 MB, free: 15.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.01414, allocations: 7.938 kB / 455 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.01416, allocations: 4 kB / 455 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.01418, allocations: 0.5625 kB / 455 MB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.01429, allocations: 25.09 kB / 455 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.0143, allocations: 0 / 455 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.01437, allocations: 24.5 kB / 455 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.01439, allocations: 0.5625 kB / 455 MB, free: 15.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001098/0.0145, allocations: 125.8 kB / 455.2 MB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.01454, allocations: 8.484 kB / 455.2 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.01475, allocations: 134.8 kB / 455.3 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01475, allocations: 1.938 kB / 455.3 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01476, allocations: 0 / 455.3 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.01476, allocations: 4.984 kB / 455.3 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.01493, allocations: 117.7 kB / 455.4 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.01494, allocations: 0 / 455.4 MB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.068e-05/0.01503, allocations: 24.58 kB / 455.4 MB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.01505, allocations: 24.86 kB / 455.5 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01505, allocations: 0 / 455.5 MB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.01506, allocations: 4 kB / 455.5 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01506, allocations: 0.6562 kB / 455.5 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01507, allocations: 1.312 kB / 455.5 MB, free: 15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.01528, allocations: 258.1 kB / 455.7 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.01529, allocations: 3.984 kB / 455.7 MB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.157e-05/0.01539, allocations: 13.02 kB / 455.7 MB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.01544, allocations: 15.98 kB / 455.8 MB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.01545, allocations: 4 kB / 455.8 MB, free: 14.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.01549, allocations: 33.41 kB / 455.8 MB, free: 14.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01549, allocations: 1.031 kB / 455.8 MB, free: 14.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.01576, allocations: 43.89 kB / 455.8 MB, free: 14.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * 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.0002245/0.01599, allocations: 112 kB / 455.9 MB, free: 14.51 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.01619, allocations: 144.1 kB / 456.1 MB, free: 14.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.0162, allocations: 3.984 kB / 456.1 MB, free: 14.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.01631, allocations: 109.5 kB / 456.2 MB, free: 14.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.01662, allocations: 225.2 kB / 456.4 MB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.01728, allocations: 310.4 kB / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.883e-05/0.01734, allocations: 75.33 kB / 456.8 MB, free: 13.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.23e-05/0.01739, allocations: 5.953 kB / 456.8 MB, free: 13.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.01749, allocations: 72.36 kB / 456.9 MB, free: 13.47 MB / 442.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01749, allocations: 0 / 456.9 MB, free: 13.47 MB / 442.7 MB Notification: Performance of Templates: time 0.005453/0.02294, allocations: 2.096 MB / 459 MB, free: 11.53 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5657784091308713]