Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.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.001475/0.001475, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001836/0.001836, allocations: 215.4 kB / 22.24 MB, free: 4.859 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.577/1.577, allocations: 230.6 MB / 256 MB, free: 7.793 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.06738/0.06738, allocations: 12.18 MB / 324.6 MB, free: 7.09 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.0008529/0.0008529, allocations: 29.52 kB / 384.1 MB, free: 47.45 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 2.594/2.594, allocations: 353.9 MB / 0.7787 GB, free: 1.645 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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative") [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.00355/0.00355, allocations: 121.4 kB / 1.06 GB, free: 12.54 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2899, allocations: 134.9 MB / 1.192 GB, free: 5.746 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002457/0.2923, allocations: 0.9845 MB / 1.193 GB, free: 4.762 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.2938, allocations: 1.03 MB / 1.194 GB, free: 3.719 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.2939, allocations: 0 / 1.194 GB, free: 3.719 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.2941, allocations: 23.73 kB / 1.194 GB, free: 3.695 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 8.238e-05/0.2942, allocations: 19.8 kB / 1.194 GB, free: 3.676 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.2947, allocations: 79.84 kB / 1.194 GB, free: 3.598 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.295, allocations: 172.1 kB / 1.194 GB, free: 3.43 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.2952, allocations: 60.39 kB / 1.195 GB, free: 3.367 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.2953, allocations: 83.62 kB / 1.195 GB, free: 3.285 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.2955, allocations: 63.62 kB / 1.195 GB, free: 3.223 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.2955, allocations: 16 kB / 1.195 GB, free: 3.207 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 7.807e-05/0.2956, allocations: 23.98 kB / 1.195 GB, free: 3.184 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.2957, allocations: 35.91 kB / 1.195 GB, free: 3.148 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 8.838e-05/0.2957, allocations: 63.66 kB / 1.195 GB, free: 3.086 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.2961, allocations: 195.1 kB / 1.195 GB, free: 2.895 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2961, allocations: 4 kB / 1.195 GB, free: 2.891 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2961, allocations: 0 / 1.195 GB, free: 2.891 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.2961, allocations: 0 / 1.195 GB, free: 2.891 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001049/0.2972, allocations: 426.3 kB / 1.195 GB, free: 2.438 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.2973, allocations: 15.98 kB / 1.195 GB, free: 2.422 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.2974, allocations: 16.84 kB / 1.195 GB, free: 2.406 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.2978, allocations: 166.8 kB / 1.196 GB, free: 2.219 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.2979, allocations: 16.38 kB / 1.196 GB, free: 2.203 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.773e-05/0.2979, allocations: 12.38 kB / 1.196 GB, free: 2.191 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.2983, allocations: 183.3 kB / 1.196 GB, free: 2 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2983, allocations: 0 / 1.196 GB, free: 2 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.2984, allocations: 7.938 kB / 1.196 GB, free: 1.992 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2984, allocations: 4 kB / 1.196 GB, free: 1.988 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.2987, allocations: 104.5 kB / 1.196 GB, free: 1.887 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2997, allocations: 443.9 kB / 1.196 GB, free: 1.422 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.3001, allocations: 130.7 kB / 1.196 GB, free: 1.285 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.3003, allocations: 80.81 kB / 1.197 GB, free: 1.203 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.3004, allocations: 7.906 kB / 1.197 GB, free: 1.195 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002776/0.3006, allocations: 149 kB / 1.197 GB, free: 1.031 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=19): time 1.382e-06/0.3006, allocations: 0 / 1.197 GB, free: 1.031 MB / 0.8263 GB Notification: Performance of matching and sorting (n=19): time 0.0005645/0.3012, allocations: 219.5 kB / 1.197 GB, free: 0.8125 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.3012, allocations: 59.28 kB / 1.197 GB, free: 0.7422 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3014, allocations: 151.6 kB / 1.197 GB, free: 0.5859 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.3014, allocations: 33.7 kB / 1.197 GB, free: 0.5469 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 7.792e-05/0.3015, allocations: 120.5 kB / 1.197 GB, free: 436 kB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 6.3e-05/0.3015, allocations: 67.42 kB / 1.197 GB, free: 368 kB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.3016, allocations: 41.7 kB / 1.197 GB, free: 320 kB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3018, allocations: 326.8 kB / 1.198 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.302, allocations: 63.95 kB / 1.198 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.3022, allocations: 91.36 kB / 1.198 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.3026, allocations: 147.5 kB / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.3026, allocations: 0 / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005181/0.3031, allocations: 220.4 kB / 1.198 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3031, allocations: 4 kB / 1.198 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3031, allocations: 0 / 1.198 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3031, allocations: 3.984 kB / 1.198 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.3034, allocations: 43.91 kB / 1.198 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3034, allocations: 4.031 kB / 1.198 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.3035, allocations: 31.86 kB / 1.198 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.3035, allocations: 4 kB / 1.198 GB, free: 15.37 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001226/0.3037, allocations: 133.7 kB / 1.198 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.3037, allocations: 11.91 kB / 1.198 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004324/0.3041, allocations: 186.7 kB / 1.199 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.3041, allocations: 8 kB / 1.199 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3041, allocations: 0 / 1.199 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3041, allocations: 0 / 1.199 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008158/0.3049, allocations: 0.5028 MB / 1.199 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.305, allocations: 4 kB / 1.199 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.3051, allocations: 40.11 kB / 1.199 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.3051, allocations: 7.984 kB / 1.199 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.3052, allocations: 7.938 kB / 1.199 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.3052, allocations: 7.984 kB / 1.199 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3052, allocations: 0 / 1.199 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006469/0.3058, allocations: 378.6 kB / 1.199 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.3058, allocations: 19.92 kB / 1.2 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.3059, allocations: 12 kB / 1.2 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.3061, allocations: 11.98 kB / 1.2 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.3062, allocations: 23.91 kB / 1.2 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.3062, allocations: 15.98 kB / 1.2 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.602e-05/0.3063, allocations: 103.8 kB / 1.2 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3063, allocations: 0 / 1.2 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002875/0.3066, allocations: 39.83 kB / 1.2 GB, free: 13.77 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001439/0.3067, allocations: 103.2 kB / 1.2 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004529/0.3072, allocations: 168.7 kB / 1.2 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3072, allocations: 0 / 1.2 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.3073, allocations: 79.91 kB / 1.2 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3077, allocations: 29.58 kB / 1.2 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007455/0.3085, allocations: 386.7 kB / 1.2 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.3086, allocations: 116.1 kB / 1.201 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.485e-05/0.3087, allocations: 17.42 kB / 1.201 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.178e-05/0.3087, allocations: 15.44 kB / 1.201 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of SimCode: time 4.4e-07/0.3087, allocations: 0 / 1.201 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.005777/0.3145, allocations: 1.846 MB / 1.202 GB, free: 10.99 MB / 0.8419 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.661914732307196] Failed to read output from testmodel.py, exit status != 0: 0.3232029043138027 0.33802168800000004 0.038650013000000004 Calling exit ...