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.0008938/0.0008938, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.001086/0.001086, allocations: 211.2 kB / 23 MB, free: 2.977 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.025/1.025, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] 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.0389/0.0389, allocations: 12.18 MB / 325.4 MB, free: 6.055 MB / 250.7 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.0004694/0.0004694, allocations: 31.94 kB / 384.9 MB, free: 10.47 MB / 314.7 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 1.831/1.831, allocations: 353.8 MB / 0.7794 GB, free: 4.535 MB / 0.5105 GB " [Timeout remaining time 178] 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.001553/0.001553, allocations: 122.2 kB / 1.061 GB, free: 24.45 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2887, allocations: 134.9 MB / 1.193 GB, free: 6.973 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001981/0.2907, allocations: 0.7936 MB / 1.194 GB, free: 6.18 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2919, allocations: 1.03 MB / 1.195 GB, free: 5.137 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.292, allocations: 0 / 1.195 GB, free: 5.137 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.2922, allocations: 15.88 kB / 1.195 GB, free: 5.121 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.2922, allocations: 23.72 kB / 1.195 GB, free: 5.098 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.2927, allocations: 87.83 kB / 1.195 GB, free: 5.012 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.2928, allocations: 131.6 kB / 1.195 GB, free: 4.883 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.293, allocations: 37.28 kB / 1.195 GB, free: 4.844 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.2931, allocations: 51.83 kB / 1.195 GB, free: 4.793 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.2931, allocations: 51.77 kB / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.2932, allocations: 12 kB / 1.195 GB, free: 4.73 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.2933, allocations: 91.84 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.2934, allocations: 47.83 kB / 1.195 GB, free: 4.594 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.2934, allocations: 47.67 kB / 1.195 GB, free: 4.547 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.2939, allocations: 211.1 kB / 1.196 GB, free: 4.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2939, allocations: 0 / 1.196 GB, free: 4.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2939, allocations: 0 / 1.196 GB, free: 4.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2939, allocations: 0 / 1.196 GB, free: 4.34 MB / 0.823 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.000644/0.2946, allocations: 441.3 kB / 1.196 GB, free: 3.875 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.2946, allocations: 8.031 kB / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.2947, allocations: 20.8 kB / 1.196 GB, free: 3.848 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.2948, allocations: 147 kB / 1.196 GB, free: 3.68 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2949, allocations: 8.375 kB / 1.196 GB, free: 3.672 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/0.2949, allocations: 8.359 kB / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.2952, allocations: 206.1 kB / 1.196 GB, free: 3.457 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2953, allocations: 192 / 1.196 GB, free: 3.457 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.2953, allocations: 7.938 kB / 1.196 GB, free: 3.449 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2953, allocations: 4 kB / 1.196 GB, free: 3.445 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.2957, allocations: 221.2 kB / 1.197 GB, free: 3.23 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.2963, allocations: 459.6 kB / 1.197 GB, free: 2.75 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.2966, allocations: 154.4 kB / 1.197 GB, free: 2.59 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.2968, allocations: 139.7 kB / 1.197 GB, free: 2.453 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.108e-05/0.2968, allocations: 12 kB / 1.197 GB, free: 2.441 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2969, allocations: 34.56 kB / 1.197 GB, free: 2.398 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 2.024e-06/0.2969, allocations: 0 / 1.197 GB, free: 2.398 MB / 0.823 GB Notification: Performance of matching and sorting (n=25): time 0.0008522/0.2977, allocations: 474.5 kB / 1.198 GB, free: 1.93 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.2978, allocations: 55.41 kB / 1.198 GB, free: 1.863 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.2979, allocations: 161.3 kB / 1.198 GB, free: 1.699 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.2979, allocations: 25.7 kB / 1.198 GB, free: 1.668 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.298, allocations: 112.5 kB / 1.198 GB, free: 1.555 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.298, allocations: 67.39 kB / 1.198 GB, free: 1.488 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/0.2981, allocations: 37.7 kB / 1.198 GB, free: 1.445 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2982, allocations: 326.8 kB / 1.198 GB, free: 1.117 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.2984, allocations: 131.9 kB / 1.199 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.2986, allocations: 131.9 kB / 1.199 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.299, allocations: 302.7 kB / 1.199 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.299, allocations: 0 / 1.199 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004613/0.2995, allocations: 327.6 kB / 1.199 GB, free: 244 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.2995, allocations: 8 kB / 1.199 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.2995, allocations: 4 kB / 1.199 GB, free: 232 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2995, allocations: 3.938 kB / 1.199 GB, free: 228 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.2997, allocations: 35.89 kB / 1.199 GB, free: 192 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2997, allocations: 7.984 kB / 1.199 GB, free: 184 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.893e-05/0.2998, allocations: 35.8 kB / 1.199 GB, free: 148 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.2998, allocations: 12 kB / 1.199 GB, free: 136 kB / 0.823 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.000142/0.2999, allocations: 139.8 kB / 1.2 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3, allocations: 11.91 kB / 1.2 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005512/0.3005, allocations: 367.3 kB / 1.2 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3005, allocations: 4 kB / 1.2 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3005, allocations: 0 / 1.2 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3005, allocations: 7.875 kB / 1.2 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.3007, allocations: 185.2 kB / 1.2 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.3007, allocations: 4 kB / 1.2 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.804e-05/0.3008, allocations: 39.95 kB / 1.2 GB, free: 15.35 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3008, allocations: 0 / 1.2 GB, free: 15.35 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3008, allocations: 8 kB / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3008, allocations: 0 / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3008, allocations: 0 / 1.2 GB, free: 15.34 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.3013, allocations: 443 kB / 1.201 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.3014, allocations: 19.8 kB / 1.201 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.3014, allocations: 4 kB / 1.201 GB, free: 14.87 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.3015, allocations: 31.95 kB / 1.201 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.3016, allocations: 19.91 kB / 1.201 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.3016, allocations: 0 / 1.201 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 6.855e-05/0.3016, allocations: 126.5 kB / 1.201 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6e-08/0.3016, allocations: 0 / 1.201 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0002267/0.3019, allocations: 43.94 kB / 1.201 GB, free: 14.65 MB / 0.8387 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.0002236/0.3021, allocations: 111.2 kB / 1.201 GB, free: 14.54 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0005585/0.3026, allocations: 367.1 kB / 1.201 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3026, allocations: 0 / 1.201 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.3029, allocations: 219.2 kB / 1.202 GB, free: 13.94 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.3031, allocations: 15.98 kB / 1.202 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006065/0.3038, allocations: 384.9 kB / 1.202 GB, free: 13.51 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.846e-05/0.3039, allocations: 114.8 kB / 1.202 GB, free: 13.38 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.3039, allocations: 19.44 kB / 1.202 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of SimCode: time 6.01e-07/0.3039, allocations: 3.938 kB / 1.202 GB, free: 13.36 MB / 0.8387 GB Notification: Performance of Templates: time 0.004247/0.3081, allocations: 2.118 MB / 1.204 GB, free: 11.25 MB / 0.8387 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.00354717951268] Failed to read output from testmodel.py, exit status != 0: 0.3167119277641177 0.33232173600000003 0.035480322 Calling exit ...