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.00141/0.00141, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001652/0.001652, allocations: 215.4 kB / 22.25 MB, free: 5.129 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.988 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.06561/0.06561, allocations: 12.19 MB / 324.6 MB, free: 7.27 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.0007416/0.0007416, allocations: 27.33 kB / 384.1 MB, free: 46.6 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.708/2.708, allocations: 353.8 MB / 0.7787 GB, free: 1.031 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.005945/0.005945, allocations: 118.8 kB / 1.061 GB, free: 12.95 MB / 0.7013 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3918, allocations: 134.9 MB / 1.192 GB, free: 6.129 MB / 0.8263 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.004032/0.3959, allocations: 1.062 MB / 1.193 GB, free: 5.066 MB / 0.8263 GB Notification: Performance of NFInst.instExpressions: time 0.002466/0.3983, allocations: 1.046 MB / 1.194 GB, free: 4.008 MB / 0.8263 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.3985, allocations: 4 kB / 1.194 GB, free: 4.004 MB / 0.8263 GB Notification: Performance of NFTyping.typeComponents: time 0.0002001/0.3987, allocations: 19.73 kB / 1.194 GB, free: 3.984 MB / 0.8263 GB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.3988, allocations: 19.81 kB / 1.194 GB, free: 3.965 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.3993, allocations: 79.78 kB / 1.194 GB, free: 3.887 MB / 0.8263 GB Notification: Performance of NFFlatten.flatten: time 0.000367/0.3997, allocations: 176.1 kB / 1.195 GB, free: 3.715 MB / 0.8263 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002379/0.3999, allocations: 72.31 kB / 1.195 GB, free: 3.641 MB / 0.8263 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.4001, allocations: 71.78 kB / 1.195 GB, free: 3.57 MB / 0.8263 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.4003, allocations: 83.59 kB / 1.195 GB, free: 3.488 MB / 0.8263 GB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.4004, allocations: 16 kB / 1.195 GB, free: 3.473 MB / 0.8263 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-05/0.4004, allocations: 16 kB / 1.195 GB, free: 3.457 MB / 0.8263 GB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.4005, allocations: 39.91 kB / 1.195 GB, free: 3.418 MB / 0.8263 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.4006, allocations: 79.53 kB / 1.195 GB, free: 3.34 MB / 0.8263 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.401, allocations: 179.1 kB / 1.195 GB, free: 3.164 MB / 0.8263 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.401, allocations: 4 kB / 1.195 GB, free: 3.16 MB / 0.8263 GB Notification: Performance of FrontEnd: time 2.705e-06/0.401, allocations: 0 / 1.195 GB, free: 3.16 MB / 0.8263 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.4011, allocations: 4 kB / 1.195 GB, free: 3.156 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.001268/0.4023, allocations: 428.8 kB / 1.196 GB, free: 2.703 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4024, allocations: 11.98 kB / 1.196 GB, free: 2.691 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.4025, allocations: 24.84 kB / 1.196 GB, free: 2.668 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.403, allocations: 170.8 kB / 1.196 GB, free: 2.477 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.403, allocations: 12.38 kB / 1.196 GB, free: 2.465 MB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.183e-05/0.4031, allocations: 16.38 kB / 1.196 GB, free: 2.449 MB / 0.8263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.4036, allocations: 161.5 kB / 1.196 GB, free: 2.285 MB / 0.8263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4036, allocations: 0 / 1.196 GB, free: 2.285 MB / 0.8263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.4036, allocations: 8 kB / 1.196 GB, free: 2.277 MB / 0.8263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.4036, allocations: 4 kB / 1.196 GB, free: 2.273 MB / 0.8263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.4041, allocations: 104.5 kB / 1.196 GB, free: 2.172 MB / 0.8263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.4058, allocations: 0.503 MB / 1.197 GB, free: 1.625 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005732/0.4064, allocations: 134.7 kB / 1.197 GB, free: 1.484 MB / 0.8263 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.4067, allocations: 92.59 kB / 1.197 GB, free: 1.391 MB / 0.8263 GB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.4067, allocations: 0 / 1.197 GB, free: 1.391 MB / 0.8263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/0.4071, allocations: 119.3 kB / 1.197 GB, free: 1.262 MB / 0.8263 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/0.4071, allocations: 4 kB / 1.197 GB, free: 1.258 MB / 0.8263 GB Notification: Performance of matching and sorting (n=19): time 0.000874/0.408, allocations: 223.3 kB / 1.197 GB, free: 1.035 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.408, allocations: 51.41 kB / 1.197 GB, free: 0.9727 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.4082, allocations: 164.4 kB / 1.197 GB, free: 0.8047 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.4083, allocations: 33.7 kB / 1.197 GB, free: 0.7656 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.4084, allocations: 112.5 kB / 1.197 GB, free: 0.6523 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 8.128e-05/0.4085, allocations: 71.42 kB / 1.198 GB, free: 0.582 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.4085, allocations: 45.7 kB / 1.198 GB, free: 0.5312 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4087, allocations: 322.8 kB / 1.198 GB, free: 212 kB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.4089, allocations: 63.95 kB / 1.198 GB, free: 148 kB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.4091, allocations: 94.28 kB / 1.198 GB, free: 48 kB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.4095, allocations: 156 kB / 1.198 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4095, allocations: 0 / 1.198 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004841/0.41, allocations: 209.4 kB / 1.198 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.41, allocations: 9.406 kB / 1.198 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.41, allocations: 0 / 1.198 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.41, allocations: 0 / 1.198 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.4102, allocations: 47.94 kB / 1.198 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4102, allocations: 0 / 1.198 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4104, allocations: 23.88 kB / 1.198 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.4104, allocations: 12 kB / 1.198 GB, free: 15.59 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.0001192/0.4105, allocations: 125.7 kB / 1.199 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.4105, allocations: 19.89 kB / 1.199 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004299/0.411, allocations: 190.7 kB / 1.199 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.411, allocations: 4 kB / 1.199 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.411, allocations: 0 / 1.199 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.411, allocations: 3.984 kB / 1.199 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008763/0.4118, allocations: 0.549 MB / 1.199 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4119, allocations: 4 kB / 1.199 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.4121, allocations: 43.91 kB / 1.199 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.4121, allocations: 7.922 kB / 1.199 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.4121, allocations: 4 kB / 1.199 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.4121, allocations: 4.188 kB / 1.199 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4121, allocations: 4 kB / 1.199 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006318/0.4127, allocations: 390.6 kB / 1.2 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.4127, allocations: 23.86 kB / 1.2 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.4128, allocations: 8 kB / 1.2 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.4129, allocations: 11.98 kB / 1.2 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.413, allocations: 27.84 kB / 1.2 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.413, allocations: 15.98 kB / 1.2 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001039/0.4131, allocations: 119.4 kB / 1.2 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of sort global known variables: time 7e-08/0.4131, allocations: 0 / 1.2 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002834/0.4134, allocations: 35.95 kB / 1.2 GB, free: 13.9 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.0001411/0.4136, allocations: 99.25 kB / 1.2 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.414, allocations: 160.9 kB / 1.2 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.414, allocations: 7.938 kB / 1.2 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001973/0.4142, allocations: 79.83 kB / 1.2 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.4145, allocations: 23.98 kB / 1.2 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.4153, allocations: 386.1 kB / 1.201 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.4157, allocations: 0.7282 MB / 1.201 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7e-05/0.4157, allocations: 13.42 kB / 1.201 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.4158, allocations: 19.44 kB / 1.201 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.4158, allocations: 0 / 1.201 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of Templates: time 0.005639/0.4214, allocations: 1.863 MB / 1.203 GB, free: 10.47 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.659871116280556] Failed to read output from testmodel.py, exit status != 0: 0.43407440930604935 0.45010485600000005 0.045332608 Calling exit ...