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.000961/0.000961, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00212/0.003081, allocations: 435.8 kB / 10.33 MB, free: 364 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.001099/0.001099, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.002483, allocations: 463.6 kB / 11.68 MB, free: 2.48 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 1.107/1.107, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09686/1.204, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.831/0.831, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.2975/1.128, allocations: 49.13 MB / 448.4 MB, free: 6.016 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.954e-06/1.954e-06, allocations: 0.7656 kB / 449.7 MB, free: 4.676 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.567e-05, allocations: 4.531 kB / 449.7 MB, free: 4.672 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001227/0.001243, allocations: 0.8685 MB / 450.6 MB, free: 3.848 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008988/0.002142, allocations: 1.064 MB / 451.7 MB, free: 2.77 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.002189, allocations: 0 / 451.7 MB, free: 2.77 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.783e-05/0.002247, allocations: 16.84 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.964e-05/0.002297, allocations: 20.12 kB / 451.7 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002614/0.002558, allocations: 85.73 kB / 451.8 MB, free: 2.66 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.00269, allocations: 127.8 kB / 451.9 MB, free: 2.551 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.002803, allocations: 39.69 kB / 452 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.002906, allocations: 88.3 kB / 452 MB, free: 2.426 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.407e-05/0.00296, allocations: 45.3 kB / 452.1 MB, free: 2.383 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.002981, allocations: 15.94 kB / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.003124, allocations: 91.91 kB / 452.2 MB, free: 2.277 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.003164, allocations: 39.86 kB / 452.2 MB, free: 2.238 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.003194, allocations: 24.53 kB / 452.3 MB, free: 2.215 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.003377, allocations: 151.4 kB / 452.4 MB, free: 2.066 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.003391, allocations: 0.625 kB / 452.4 MB, free: 2.066 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003391, allocations: 5.844 kB / 452.4 MB, free: 2.062 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.003406, allocations: 0 / 452.4 MB, free: 2.062 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.0004387/0.003845, allocations: 395.5 kB / 452.8 MB, free: 1.656 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.003872, allocations: 12.03 kB / 452.8 MB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.003906, allocations: 13.83 kB / 452.8 MB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.004033, allocations: 141.5 kB / 453 MB, free: 1.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.004044, allocations: 9.359 kB / 453 MB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.004055, allocations: 8.375 kB / 453 MB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.004257, allocations: 122.6 kB / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.004264, allocations: 0.6875 kB / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.004273, allocations: 3.938 kB / 453.1 MB, free: 1.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.004281, allocations: 4.5 kB / 453.1 MB, free: 1.316 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.607e-05/0.004327, allocations: 21.28 kB / 453.1 MB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.004701, allocations: 318.6 kB / 453.4 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.477e-05/0.004765, allocations: 88.44 kB / 453.5 MB, free: 0.875 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.004798, allocations: 28.8 kB / 453.6 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.004846, allocations: 4 kB / 453.6 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.004865, allocations: 35.67 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.182e-06/0.004867, allocations: 0 / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0001813/0.005048, allocations: 136.9 kB / 453.7 MB, free: 0.6602 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.005074, allocations: 51.41 kB / 453.8 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.005145, allocations: 149.2 kB / 453.9 MB, free: 452 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.005157, allocations: 29.7 kB / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.005196, allocations: 100.6 kB / 454 MB, free: 312 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.005239, allocations: 75.8 kB / 454.1 MB, free: 236 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.005275, allocations: 29.69 kB / 454.2 MB, free: 200 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.005363, allocations: 332.1 kB / 454.5 MB, free: 15.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/0.005393, allocations: 22.77 kB / 454.5 MB, free: 15.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/0.005418, allocations: 19.5 kB / 454.5 MB, free: 15.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.031e-05/0.005488, allocations: 75.52 kB / 454.6 MB, free: 15.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.00549, allocations: 0 / 454.6 MB, free: 15.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 9.71e-05/0.005587, allocations: 96.91 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.0056, allocations: 8.719 kB / 454.7 MB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.005613, allocations: 7.922 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.005621, allocations: 0.9062 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.716e-05/0.005708, allocations: 24.52 kB / 454.7 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.906e-06/0.005711, allocations: 0 / 454.7 MB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.00576, allocations: 29.31 kB / 454.8 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.816e-05/0.005778, allocations: 8 kB / 454.8 MB, free: 15.57 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 7.634e-05/0.005855, allocations: 121.4 kB / 454.9 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.005873, allocations: 9.438 kB / 454.9 MB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.006025, allocations: 127.8 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.006028, allocations: 4 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.006029, allocations: 0 / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006033, allocations: 0.8438 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.006154, allocations: 121.7 kB / 455.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.006159, allocations: 4.656 kB / 455.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.006224, allocations: 28.75 kB / 455.2 MB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.006236, allocations: 15.84 kB / 455.2 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.006241, allocations: 1.281 kB / 455.2 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.006246, allocations: 0 / 455.2 MB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.006248, allocations: 5.5 kB / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006249, allocations: 0 / 455.2 MB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.006395, allocations: 258.1 kB / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.006407, allocations: 0 / 455.4 MB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.768e-05/0.006464, allocations: 18.08 kB / 455.5 MB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.006507, allocations: 19.97 kB / 455.5 MB, free: 14.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.006515, allocations: 0 / 455.5 MB, free: 14.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.335e-05/0.006538, allocations: 36.48 kB / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006539, allocations: 0 / 455.5 MB, free: 14.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.006701, allocations: 48.48 kB / 455.6 MB, free: 14.73 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.0001296/0.006831, allocations: 116.8 kB / 455.7 MB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.006979, allocations: 131.5 kB / 455.8 MB, free: 14.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.006988, allocations: 4 kB / 455.8 MB, free: 14.46 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.007059, allocations: 109.3 kB / 455.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.00723, allocations: 37.25 kB / 456 MB, free: 14.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.007866, allocations: 316.8 kB / 456.3 MB, free: 13.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.542e-05/0.007911, allocations: 76.14 kB / 456.3 MB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.971e-05/0.007951, allocations: 7 kB / 456.3 MB, free: 13.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.008029, allocations: 72.08 kB / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/0.00803, allocations: 0 / 456.4 MB, free: 13.8 MB / 442.7 MB Notification: Performance of Templates: time 0.003806/0.01184, allocations: 2.101 MB / 458.5 MB, free: 11.85 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.751264873892069]