Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.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.001075/0.001075, 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.001176/0.001176, 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 0.9937/0.9937, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.03597/0.03597, allocations: 12.21 MB / 325.4 MB, free: 6.051 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.0005302/0.0005302, allocations: 31.94 kB / 384.8 MB, free: 10.48 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.872/1.872, allocations: 353.8 MB / 0.7794 GB, free: 4.527 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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan") [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.001388/0.001388, allocations: 115.2 kB / 1.061 GB, free: 24.54 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2642, allocations: 134.9 MB / 1.193 GB, free: 6.996 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001435/0.2656, allocations: 0.6516 MB / 1.194 GB, free: 6.344 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000697/0.2663, allocations: 0.8474 MB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.2663, allocations: 0 / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.2664, allocations: 0 / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.2664, allocations: 7.938 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.2666, allocations: 11.98 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.2667, allocations: 23.92 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.495e-05/0.2668, allocations: 11.98 kB / 1.194 GB, free: 5.43 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.7e-05/0.2668, allocations: 11.92 kB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.404e-05/0.2668, allocations: 4 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.2669, allocations: 4 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.94e-05/0.2669, allocations: 4 kB / 1.194 GB, free: 5.406 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.658e-05/0.2669, allocations: 7.984 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.2669, allocations: 7.938 kB / 1.194 GB, free: 5.391 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.267, allocations: 39.77 kB / 1.195 GB, free: 5.352 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.267, allocations: 4 kB / 1.195 GB, free: 5.348 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.267, allocations: 0 / 1.195 GB, free: 5.348 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.267, allocations: 0 / 1.195 GB, free: 5.348 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003324/0.2674, allocations: 250.4 kB / 1.195 GB, free: 5.07 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2674, allocations: 12.03 kB / 1.195 GB, free: 5.059 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.2675, allocations: 8.891 kB / 1.195 GB, free: 5.051 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.2676, allocations: 110.5 kB / 1.195 GB, free: 4.918 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2676, allocations: 4.359 kB / 1.195 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.2676, allocations: 384 / 1.195 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.2677, allocations: 58.23 kB / 1.195 GB, free: 4.852 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2677, allocations: 192 / 1.195 GB, free: 4.852 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2677, allocations: 7.938 kB / 1.195 GB, free: 4.844 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2677, allocations: 0 / 1.195 GB, free: 4.844 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.2678, allocations: 31.91 kB / 1.195 GB, free: 4.812 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.2681, allocations: 192.6 kB / 1.195 GB, free: 4.594 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.584e-05/0.2681, allocations: 34.56 kB / 1.195 GB, free: 4.551 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.2682, allocations: 24.91 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2682, allocations: 3.938 kB / 1.195 GB, free: 4.52 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2682, allocations: 30.56 kB / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.2682, allocations: 0 / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002108/0.2684, allocations: 89.53 kB / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.2685, allocations: 51.41 kB / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.886e-05/0.2685, allocations: 106 kB / 1.196 GB, free: 4.211 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.2685, allocations: 29.7 kB / 1.196 GB, free: 4.176 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.2686, allocations: 84.08 kB / 1.196 GB, free: 4.09 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.2686, allocations: 7.891 kB / 1.196 GB, free: 4.082 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.2686, allocations: 17.72 kB / 1.196 GB, free: 4.059 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.514e-05/0.2687, allocations: 314.8 kB / 1.196 GB, free: 3.742 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.211e-05/0.2687, allocations: 23.92 kB / 1.196 GB, free: 3.719 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/0.2688, allocations: 11.98 kB / 1.196 GB, free: 3.707 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.2688, allocations: 48.81 kB / 1.196 GB, free: 3.656 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2688, allocations: 0 / 1.196 GB, free: 3.656 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.286e-05/0.2689, allocations: 61.61 kB / 1.196 GB, free: 3.59 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.269, allocations: 8 kB / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.269, allocations: 0 / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.269, allocations: 0 / 1.196 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.23e-05/0.269, allocations: 11.98 kB / 1.196 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.269, allocations: 8.031 kB / 1.196 GB, free: 3.562 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.2691, allocations: 7.984 kB / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2691, allocations: 0 / 1.196 GB, free: 3.555 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.822e-05/0.2691, allocations: 105.8 kB / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.2691, allocations: 7.938 kB / 1.196 GB, free: 3.434 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.2692, allocations: 72.91 kB / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2693, allocations: 0 / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2693, allocations: 0 / 1.196 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2693, allocations: 4.031 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.833e-05/0.2693, allocations: 101.3 kB / 1.196 GB, free: 3.223 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2693, allocations: 4 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.568e-05/0.2694, allocations: 11.98 kB / 1.196 GB, free: 3.207 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2694, allocations: 3.938 kB / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.2694, allocations: 0 / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.2694, allocations: 0 / 1.196 GB, free: 3.203 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2694, allocations: 4 kB / 1.196 GB, free: 3.199 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.2695, allocations: 167.4 kB / 1.197 GB, free: 3.02 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-06/0.2695, allocations: 3.938 kB / 1.197 GB, free: 3.016 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.2695, allocations: 0 / 1.197 GB, free: 3.016 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.2696, allocations: 15.98 kB / 1.197 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.2696, allocations: 192 / 1.197 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.2696, allocations: 4 kB / 1.197 GB, free: 2.996 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002943/0.2699, allocations: 87.25 kB / 1.197 GB, free: 2.91 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2699, allocations: 0 / 1.197 GB, free: 2.91 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001351/0.27, allocations: 3.938 kB / 1.197 GB, free: 2.906 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.436e-05/0.2701, allocations: 99.28 kB / 1.197 GB, free: 2.797 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.2702, allocations: 35.97 kB / 1.197 GB, free: 2.762 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.2702, allocations: 0 / 1.197 GB, free: 2.762 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.892e-05/0.2703, allocations: 23.91 kB / 1.197 GB, free: 2.738 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.2705, allocations: 0 / 1.197 GB, free: 2.738 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.2707, allocations: 144 kB / 1.197 GB, free: 2.566 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.2708, allocations: 71.28 kB / 1.197 GB, free: 2.477 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.2708, allocations: 7.438 kB / 1.197 GB, free: 2.469 MB / 0.823 GB Notification: Performance of SimCode: time 3.71e-07/0.2708, allocations: 0 / 1.197 GB, free: 2.469 MB / 0.823 GB Notification: Performance of Templates: time 0.00131/0.2721, allocations: 0.5436 MB / 1.198 GB, free: 1.926 MB / 0.823 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.5505900187417865] Failed to read output from testmodel.py, exit status != 0: 0.27745790407061577 0.28756934199999995 0.017859495 Calling exit ...