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.0007449/0.0007449, allocations: 117.6 kB / 19.7 MB, free: 0.5273 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.0007661/0.0007661, allocations: 215.9 kB / 23.01 MB, free: 3.102 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.9333/0.9333, allocations: 230.6 MB / 256.8 MB, free: 3.438 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.03641/0.03641, 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.0004014/0.0004014, allocations: 34.36 kB / 384.9 MB, free: 45.73 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.583/1.583, allocations: 353.8 MB / 0.7794 GB, free: 13.04 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.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.00139/0.00139, allocations: 120 kB / 1.061 GB, free: 9.359 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.209, allocations: 134.9 MB / 1.193 GB, free: 2.539 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Tan): time 0.001305/0.2103, allocations: 0.6633 MB / 1.194 GB, free: 1.875 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006781/0.2109, allocations: 0.8615 MB / 1.195 GB, free: 1.004 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.095e-05/0.211, allocations: 0 / 1.195 GB, free: 1.004 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.211, allocations: 0 / 1.195 GB, free: 1.004 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.615e-05/0.2111, allocations: 7.938 kB / 1.195 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.2112, allocations: 7.984 kB / 1.195 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.2113, allocations: 31.91 kB / 1.195 GB, free: 0.957 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.073e-05/0.2114, allocations: 0 / 1.195 GB, free: 0.957 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.715e-05/0.2114, allocations: 15.94 kB / 1.195 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.784e-05/0.2115, allocations: 11.98 kB / 1.195 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.2115, allocations: 4 kB / 1.195 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.2115, allocations: 4 kB / 1.195 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.2115, allocations: 4 kB / 1.195 GB, free: 0.918 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.2115, allocations: 3.938 kB / 1.195 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.244e-05/0.2116, allocations: 39.81 kB / 1.195 GB, free: 0.875 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.2116, allocations: 3.938 kB / 1.195 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2116, allocations: 0 / 1.195 GB, free: 0.8711 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2116, allocations: 0 / 1.195 GB, free: 0.8711 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.0003236/0.212, allocations: 262.4 kB / 1.195 GB, free: 0.582 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.212, allocations: 8.031 kB / 1.195 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.2121, allocations: 8.891 kB / 1.195 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.525e-05/0.2121, allocations: 102.5 kB / 1.195 GB, free: 452 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.2122, allocations: 4.375 kB / 1.195 GB, free: 448 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.2122, allocations: 384 / 1.195 GB, free: 448 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.2123, allocations: 54.22 kB / 1.195 GB, free: 388 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2123, allocations: 192 / 1.195 GB, free: 388 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-06/0.2123, allocations: 7.938 kB / 1.195 GB, free: 380 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2123, allocations: 0 / 1.195 GB, free: 380 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.125e-05/0.2124, allocations: 35.95 kB / 1.195 GB, free: 344 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.2126, allocations: 216 kB / 1.195 GB, free: 84 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.2127, allocations: 38.5 kB / 1.195 GB, free: 36 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.2128, allocations: 28.89 kB / 1.195 GB, free: 4 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.2128, allocations: 3.938 kB / 1.195 GB, free: 0 / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.2128, allocations: 30.56 kB / 1.195 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=2): time 6.41e-07/0.2128, allocations: 4 kB / 1.195 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of matching and sorting (n=2): time 0.0002005/0.213, allocations: 89.59 kB / 1.196 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.213, allocations: 55.41 kB / 1.196 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.357e-05/0.2131, allocations: 97.86 kB / 1.196 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.2131, allocations: 25.7 kB / 1.196 GB, free: 15.66 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.2131, allocations: 92.06 kB / 1.196 GB, free: 15.57 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.2131, allocations: 3.953 kB / 1.196 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.2132, allocations: 13.72 kB / 1.196 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.2132, allocations: 314.8 kB / 1.196 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.841e-05/0.2133, allocations: 15.98 kB / 1.196 GB, free: 15.21 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.2133, allocations: 23.97 kB / 1.196 GB, free: 15.19 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.309e-05/0.2134, allocations: 32.83 kB / 1.196 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2134, allocations: 4 kB / 1.196 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.333e-05/0.2135, allocations: 73.59 kB / 1.196 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2135, allocations: 8 kB / 1.196 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2135, allocations: 0 / 1.196 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2135, allocations: 0 / 1.196 GB, free: 15.06 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.2136, allocations: 7.984 kB / 1.196 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2136, allocations: 4 kB / 1.196 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.2136, allocations: 4 kB / 1.196 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.2136, allocations: 4 kB / 1.196 GB, free: 15.04 MB / 0.8387 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 5.068e-05/0.2137, allocations: 121.8 kB / 1.196 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.2137, allocations: 0 / 1.196 GB, free: 14.91 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.2138, allocations: 72.91 kB / 1.196 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2138, allocations: 0 / 1.196 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2138, allocations: 0 / 1.196 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2138, allocations: 0 / 1.196 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.448e-05/0.2139, allocations: 128.7 kB / 1.197 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2139, allocations: 0 / 1.197 GB, free: 14.67 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/0.2139, allocations: 16.02 kB / 1.197 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.2139, allocations: 0 / 1.197 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2139, allocations: 4 kB / 1.197 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2139, allocations: 0 / 1.197 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2139, allocations: 0 / 1.197 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.214, allocations: 167.3 kB / 1.197 GB, free: 14.47 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.214, allocations: 11.97 kB / 1.197 GB, free: 14.46 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.214, allocations: 3.984 kB / 1.197 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.2141, allocations: 4 kB / 1.197 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.2141, allocations: 4 kB / 1.197 GB, free: 14.45 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.2141, allocations: 3.984 kB / 1.197 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.2141, allocations: 79.47 kB / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2141, allocations: 0 / 1.197 GB, free: 14.36 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001391/0.2143, allocations: 4 kB / 1.197 GB, free: 14.36 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: 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 8.767e-05/0.2144, allocations: 99.19 kB / 1.197 GB, free: 14.25 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.2145, allocations: 35.95 kB / 1.197 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2145, allocations: 0 / 1.197 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.655e-05/0.2145, allocations: 19.98 kB / 1.197 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.2147, allocations: 7.938 kB / 1.197 GB, free: 14.19 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002292/0.2149, allocations: 148 kB / 1.197 GB, free: 14.01 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.2151, allocations: 0.6769 MB / 1.198 GB, free: 13.31 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.2151, allocations: 7.438 kB / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of SimCode: time 5.51e-07/0.2151, allocations: 0 / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of Templates: time 0.001259/0.2164, allocations: 0.5414 MB / 1.198 GB, free: 12.76 MB / 0.8387 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: 6.654165619052947] Failed to read output from testmodel.py, exit status != 0: 0.22155263740569353 0.22946039899999995 0.01615468 Calling exit ...