Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.001642/0.001642, allocations: 110.4 kB / 18.94 MB, free: 2.793 MB / 14.72 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.001934/0.001934, allocations: 221.6 kB / 22.26 MB, free: 5.215 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] 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.06601/0.06601, allocations: 12.19 MB / 324.6 MB, free: 7.266 MB / 254.1 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.000798/0.000798, allocations: 28.83 kB / 384.1 MB, free: 46.62 MB / 302.1 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 3.18/3.18, allocations: 353.8 MB / 0.7787 GB, free: 1.082 MB / 0.5138 GB " [Timeout remaining time 177] 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.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort") [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.003735/0.003735, allocations: 116.5 kB / 1.061 GB, free: 12.82 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2531, allocations: 134.9 MB / 1.192 GB, free: 5.984 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002291/0.2554, allocations: 0.8333 MB / 1.193 GB, free: 5.152 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.2569, allocations: 1.055 MB / 1.194 GB, free: 4.086 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.257, allocations: 0 / 1.194 GB, free: 4.086 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.2571, allocations: 11.86 kB / 1.194 GB, free: 4.074 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 5.729e-05/0.2571, allocations: 23.73 kB / 1.194 GB, free: 4.051 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.2576, allocations: 91.83 kB / 1.194 GB, free: 3.961 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.2578, allocations: 127.6 kB / 1.194 GB, free: 3.836 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.258, allocations: 37.28 kB / 1.194 GB, free: 3.797 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.2581, allocations: 51.84 kB / 1.194 GB, free: 3.746 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.2582, allocations: 63.75 kB / 1.195 GB, free: 3.684 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.2582, allocations: 8 kB / 1.195 GB, free: 3.676 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.2584, allocations: 95.84 kB / 1.195 GB, free: 3.582 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 7.306e-05/0.2585, allocations: 51.83 kB / 1.195 GB, free: 3.531 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 7.476e-05/0.2585, allocations: 59.55 kB / 1.195 GB, free: 3.473 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.2589, allocations: 207.1 kB / 1.195 GB, free: 3.27 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.2589, allocations: 4 kB / 1.195 GB, free: 3.266 MB / 0.8263 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2589, allocations: 0 / 1.195 GB, free: 3.266 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.2589, allocations: 0 / 1.195 GB, free: 3.266 MB / 0.8263 GB 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.0008673/0.2598, allocations: 425.4 kB / 1.195 GB, free: 2.816 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2598, allocations: 11.98 kB / 1.195 GB, free: 2.805 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.2599, allocations: 24.78 kB / 1.195 GB, free: 2.781 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.2601, allocations: 154.2 kB / 1.196 GB, free: 2.605 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2601, allocations: 4.375 kB / 1.196 GB, free: 2.602 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.2601, allocations: 8.375 kB / 1.196 GB, free: 2.594 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.2607, allocations: 210 kB / 1.196 GB, free: 2.383 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2607, allocations: 192 / 1.196 GB, free: 2.383 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.2607, allocations: 3.938 kB / 1.196 GB, free: 2.379 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2607, allocations: 4 kB / 1.196 GB, free: 2.375 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00071/0.2615, allocations: 223.7 kB / 1.196 GB, free: 2.156 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009732/0.2624, allocations: 0.5032 MB / 1.196 GB, free: 1.609 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.2629, allocations: 154.4 kB / 1.197 GB, free: 1.449 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/0.2633, allocations: 141.6 kB / 1.197 GB, free: 1.309 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 5.416e-05/0.2633, allocations: 4 kB / 1.197 GB, free: 1.305 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.2634, allocations: 34.55 kB / 1.197 GB, free: 1.262 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=25): time 1.302e-06/0.2634, allocations: 0 / 1.197 GB, free: 1.262 MB / 0.8263 GB Notification: Performance of matching and sorting (n=25): time 0.001387/0.2648, allocations: 482.9 kB / 1.197 GB, free: 0.7852 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.2648, allocations: 55.34 kB / 1.197 GB, free: 0.7188 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.265, allocations: 156.4 kB / 1.197 GB, free: 0.5586 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.265, allocations: 25.7 kB / 1.197 GB, free: 0.5273 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.2651, allocations: 112.5 kB / 1.198 GB, free: 424 kB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.2651, allocations: 71.38 kB / 1.198 GB, free: 352 kB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.204e-05/0.2652, allocations: 33.7 kB / 1.198 GB, free: 312 kB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.2654, allocations: 330.8 kB / 1.198 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003873/0.2657, allocations: 127.9 kB / 1.198 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000379/0.2661, allocations: 144.6 kB / 1.198 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000758/0.2669, allocations: 292.7 kB / 1.199 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2669, allocations: 4 kB / 1.199 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008401/0.2677, allocations: 329.3 kB / 1.199 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.2677, allocations: 13.41 kB / 1.199 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.2677, allocations: 0 / 1.199 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2678, allocations: 0 / 1.199 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.268, allocations: 35.95 kB / 1.199 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.268, allocations: 3.938 kB / 1.199 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.2682, allocations: 39.84 kB / 1.199 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.2682, allocations: 4 kB / 1.199 GB, free: 14.99 MB / 0.8419 GB 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.0001404/0.2683, allocations: 141.8 kB / 1.199 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.2684, allocations: 11.91 kB / 1.199 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009416/0.2693, allocations: 366.5 kB / 1.199 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2693, allocations: 0 / 1.199 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.2693, allocations: 7.922 kB / 1.199 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2693, allocations: 0 / 1.199 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.2696, allocations: 236.5 kB / 1.2 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.2696, allocations: 4 kB / 1.2 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.2698, allocations: 39.89 kB / 1.2 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2698, allocations: 3.984 kB / 1.2 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.2699, allocations: 4 kB / 1.2 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2699, allocations: 0 / 1.2 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2699, allocations: 3.938 kB / 1.2 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008881/0.2708, allocations: 443 kB / 1.2 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.2708, allocations: 19.8 kB / 1.2 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.2708, allocations: 0 / 1.2 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.271, allocations: 35.95 kB / 1.2 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.2711, allocations: 15.92 kB / 1.2 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2711, allocations: 8 kB / 1.2 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.682e-05/0.2712, allocations: 118.4 kB / 1.2 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2712, allocations: 3.938 kB / 1.2 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002929/0.2715, allocations: 39.94 kB / 1.2 GB, free: 13.45 MB / 0.8419 GB 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.0002315/0.2717, allocations: 125.8 kB / 1.2 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009286/0.2726, allocations: 359.1 kB / 1.201 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2726, allocations: 4 kB / 1.201 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.2731, allocations: 219.3 kB / 1.201 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.2734, allocations: 19.98 kB / 1.201 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006407/0.274, allocations: 351.2 kB / 1.201 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.2744, allocations: 0.7314 MB / 1.202 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.102e-05/0.2745, allocations: 15.97 kB / 1.202 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.2745, allocations: 15.44 kB / 1.202 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.2745, allocations: 0 / 1.202 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.006166/0.2807, allocations: 2.147 MB / 1.204 GB, free: 9.426 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.995688688009977] Failed to read output from testmodel.py, exit status != 0: 0.2892850525677204 0.304707553 0.042702275000000005 Calling exit ...