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.0007893/0.0007893, allocations: 115 kB / 19.7 MB, free: 0.5234 MB / 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.0008594/0.0008594, allocations: 211.8 kB / 23 MB, free: 3.117 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 0.8932/0.8932, allocations: 230.6 MB / 256.8 MB, free: 3.453 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.03639/0.03639, allocations: 12.19 MB / 325.4 MB, free: 3.426 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.000475/0.000475, allocations: 35.23 kB / 384.9 MB, free: 45.79 MB / 298.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.621/1.621, allocations: 353.8 MB / 0.7794 GB, free: 13.02 MB / 0.5262 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.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.001395/0.001395, allocations: 125.9 kB / 1.061 GB, free: 9.367 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.22, allocations: 134.9 MB / 1.193 GB, free: 2.562 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.001597/0.2216, allocations: 1.067 MB / 1.194 GB, free: 1.496 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008637/0.2225, allocations: 1.034 MB / 1.195 GB, free: 460 kB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.887e-05/0.2226, allocations: 7.938 kB / 1.195 GB, free: 452 kB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.2227, allocations: 19.73 kB / 1.195 GB, free: 432 kB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.2228, allocations: 31.73 kB / 1.195 GB, free: 400 kB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.223, allocations: 74.61 kB / 1.195 GB, free: 328 kB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.2232, allocations: 180 kB / 1.195 GB, free: 148 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.2233, allocations: 64.39 kB / 1.195 GB, free: 80 kB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.923e-05/0.2234, allocations: 75.75 kB / 1.196 GB, free: 4 kB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.2235, allocations: 75.62 kB / 1.196 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.2235, allocations: 16 kB / 1.196 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.505e-05/0.2235, allocations: 23.98 kB / 1.196 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of NFScalarize.scalarize: time 2.931e-05/0.2235, allocations: 39.84 kB / 1.196 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.2236, allocations: 83.53 kB / 1.196 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.2238, allocations: 179.2 kB / 1.196 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2238, allocations: 4 kB / 1.196 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2238, allocations: 0 / 1.196 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2238, allocations: 0 / 1.196 GB, free: 15.59 MB / 0.8387 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.0005369/0.2243, allocations: 438.2 kB / 1.196 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2244, allocations: 15.98 kB / 1.196 GB, free: 15.11 MB / 0.8387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.663e-05/0.2244, allocations: 16.84 kB / 1.196 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.2246, allocations: 169.4 kB / 1.197 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2247, allocations: 12.38 kB / 1.197 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.2247, allocations: 16.38 kB / 1.197 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.2249, allocations: 157.6 kB / 1.197 GB, free: 14.72 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.2249, allocations: 0 / 1.197 GB, free: 14.72 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.2249, allocations: 8 kB / 1.197 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.2249, allocations: 4 kB / 1.197 GB, free: 14.71 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.2251, allocations: 104.5 kB / 1.197 GB, free: 14.61 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.2257, allocations: 0.5069 MB / 1.197 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.226, allocations: 130.7 kB / 1.197 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.751e-05/0.2261, allocations: 84.7 kB / 1.198 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.2261, allocations: 7.984 kB / 1.198 GB, free: 13.82 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.2262, allocations: 115.4 kB / 1.198 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=19): time 1.202e-06/0.2262, allocations: 0 / 1.198 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of matching and sorting (n=19): time 0.0003909/0.2266, allocations: 226.9 kB / 1.198 GB, free: 13.47 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.2267, allocations: 55.41 kB / 1.198 GB, free: 13.41 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2268, allocations: 164.6 kB / 1.198 GB, free: 13.24 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.2268, allocations: 33.7 kB / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.2268, allocations: 116.5 kB / 1.198 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 3.829e-05/0.2269, allocations: 71.42 kB / 1.198 GB, free: 13.01 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.2269, allocations: 37.7 kB / 1.198 GB, free: 12.97 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.227, allocations: 326.8 kB / 1.199 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2271, allocations: 63.95 kB / 1.199 GB, free: 12.58 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.2272, allocations: 92.38 kB / 1.199 GB, free: 12.48 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.2274, allocations: 153.5 kB / 1.199 GB, free: 12.33 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2274, allocations: 0 / 1.199 GB, free: 12.33 MB / 0.8387 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002647/0.2277, allocations: 223 kB / 1.199 GB, free: 12.11 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2277, allocations: 7.938 kB / 1.199 GB, free: 12.1 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2277, allocations: 0 / 1.199 GB, free: 12.1 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.2277, allocations: 0 / 1.199 GB, free: 12.1 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.2278, allocations: 47.97 kB / 1.199 GB, free: 12.05 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2278, allocations: 0 / 1.199 GB, free: 12.05 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.303e-05/0.2279, allocations: 23.88 kB / 1.199 GB, free: 12.03 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.2279, allocations: 8 kB / 1.199 GB, free: 12.02 MB / 0.8387 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 8.142e-05/0.228, allocations: 133.8 kB / 1.199 GB, free: 11.88 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.228, allocations: 15.91 kB / 1.199 GB, free: 11.86 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.2282, allocations: 196.5 kB / 1.2 GB, free: 11.67 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2282, allocations: 0 / 1.2 GB, free: 11.67 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2282, allocations: 0 / 1.2 GB, free: 11.67 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2282, allocations: 3.984 kB / 1.2 GB, free: 11.66 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.2287, allocations: 0.5491 MB / 1.2 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2287, allocations: 192 / 1.2 GB, free: 11.05 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.493e-05/0.2288, allocations: 39.98 kB / 1.2 GB, free: 11.01 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2288, allocations: 7.938 kB / 1.2 GB, free: 11 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.2288, allocations: 3.984 kB / 1.2 GB, free: 11 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2288, allocations: 7.938 kB / 1.2 GB, free: 10.99 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2288, allocations: 4 kB / 1.2 GB, free: 10.98 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.2292, allocations: 376.4 kB / 1.201 GB, free: 10.58 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.2292, allocations: 19.83 kB / 1.201 GB, free: 10.56 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.2292, allocations: 12.03 kB / 1.201 GB, free: 10.55 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/0.2293, allocations: 19.92 kB / 1.201 GB, free: 10.53 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.2293, allocations: 19.97 kB / 1.201 GB, free: 10.51 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2294, allocations: 15.94 kB / 1.201 GB, free: 10.5 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.471e-05/0.2294, allocations: 117.4 kB / 1.201 GB, free: 10.38 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2294, allocations: 0 / 1.201 GB, free: 10.38 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001771/0.2296, allocations: 31.95 kB / 1.201 GB, free: 10.35 MB / 0.8387 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 9.094e-05/0.2297, allocations: 111.2 kB / 1.201 GB, free: 10.23 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.2299, allocations: 156.4 kB / 1.201 GB, free: 10.08 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2299, allocations: 0 / 1.201 GB, free: 10.08 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.23, allocations: 87.83 kB / 1.201 GB, free: 9.996 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.2303, allocations: 20.44 kB / 1.201 GB, free: 9.977 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.2307, allocations: 414.1 kB / 1.201 GB, free: 9.52 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.2309, allocations: 0.7282 MB / 1.202 GB, free: 8.762 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.231, allocations: 19.38 kB / 1.202 GB, free: 8.742 MB / 0.8387 GB Notification: Performance of SimCode: time 3.5e-07/0.231, allocations: 0 / 1.202 GB, free: 8.742 MB / 0.8387 GB Notification: Performance of Templates: time 0.002434/0.2334, allocations: 1.982 MB / 1.204 GB, free: 6.766 MB / 0.8387 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: 6.901159470900893] Failed to read output from testmodel.py, exit status != 0: 0.23848910257220268 0.246438748 0.021062577000000002 Calling exit ...