Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.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.0007368/0.0007368, 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.000766/0.000766, 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.8841/0.8841, allocations: 230.6 MB / 256.8 MB, free: 3.434 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7893/0.7893, allocations: 203.8 MB / 0.5049 GB, free: 0.7031 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos") [Timeout 660] "Notification: IDEAS 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.0008233/0.0008233, allocations: 73.92 kB / 0.7195 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4199, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001453/0.4213, allocations: 0.6549 MB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006856/0.422, allocations: 0.8512 MB / 0.8206 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.696e-05/0.422, allocations: 8.875 kB / 0.8206 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.4221, allocations: 4.5 kB / 0.8206 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.4221, allocations: 5.984 kB / 0.8206 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.4223, allocations: 14.19 kB / 0.8206 GB, free: 24.13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.239e-05/0.4224, allocations: 28.16 kB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.4225, allocations: 3.375 kB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.069e-05/0.4225, allocations: 8.688 kB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/0.4225, allocations: 10.72 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.4226, allocations: 1.5 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.358e-05/0.4226, allocations: 13.05 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.4226, allocations: 2.016 kB / 0.8207 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.4226, allocations: 14.44 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.4227, allocations: 27.59 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4227, allocations: 2.5 kB / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4227, allocations: 0 / 0.8207 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.4228, allocations: 1.375 kB / 0.8207 GB, free: 24.09 MB / 0.6355 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.000321/0.4231, allocations: 262.8 kB / 0.821 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4231, allocations: 11.86 kB / 0.821 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.4232, allocations: 11.77 kB / 0.821 GB, free: 23.81 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.172e-05/0.4233, allocations: 106.2 kB / 0.8211 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4233, allocations: 1.859 kB / 0.8211 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.4233, allocations: 7.266 kB / 0.8211 GB, free: 23.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.4234, allocations: 53.08 kB / 0.8212 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.4234, allocations: 1.5 kB / 0.8212 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.4234, allocations: 3.938 kB / 0.8212 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.4234, allocations: 0.7812 kB / 0.8212 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.952e-05/0.4235, allocations: 34.3 kB / 0.8212 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.4237, allocations: 214.7 kB / 0.8214 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.844e-05/0.4238, allocations: 41.53 kB / 0.8215 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.4239, allocations: 28.89 kB / 0.8215 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.4239, allocations: 0.75 kB / 0.8215 GB, free: 23.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.402e-05/0.4239, allocations: 33.69 kB / 0.8215 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.4239, allocations: 0 / 0.8215 GB, free: 23.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002176/0.4241, allocations: 77.22 kB / 0.8216 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.4241, allocations: 52.25 kB / 0.8216 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.385e-05/0.4242, allocations: 104.7 kB / 0.8217 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-06/0.4242, allocations: 25.7 kB / 0.8218 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.4242, allocations: 90.05 kB / 0.8219 GB, free: 23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.4242, allocations: 5.328 kB / 0.8219 GB, free: 22.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.4242, allocations: 13.09 kB / 0.8219 GB, free: 22.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.007e-05/0.4243, allocations: 313.4 kB / 0.8222 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.592e-05/0.4243, allocations: 29.09 kB / 0.8222 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.8e-05/0.4244, allocations: 18.03 kB / 0.8222 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.4244, allocations: 42.11 kB / 0.8223 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4244, allocations: 0 / 0.8223 GB, free: 22.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001001/0.4245, allocations: 70.62 kB / 0.8223 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.4245, allocations: 4.906 kB / 0.8223 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4246, allocations: 0.5156 kB / 0.8223 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4246, allocations: 0.7812 kB / 0.8223 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.4246, allocations: 13.55 kB / 0.8223 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4246, allocations: 0 / 0.8223 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.4247, allocations: 10.34 kB / 0.8224 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.4247, allocations: 3.344 kB / 0.8224 GB, free: 22.59 MB / 0.6355 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 3.325e-05/0.4247, allocations: 112.9 kB / 0.8225 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.4247, allocations: 2.219 kB / 0.8225 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.4248, allocations: 75.28 kB / 0.8225 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4248, allocations: 4.531 kB / 0.8225 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4248, allocations: 1.281 kB / 0.8225 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4248, allocations: 0.8125 kB / 0.8225 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.385e-05/0.4249, allocations: 134.3 kB / 0.8227 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4249, allocations: 1.312 kB / 0.8227 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.66e-05/0.425, allocations: 8.219 kB / 0.8227 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.425, allocations: 0.8125 kB / 0.8227 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.425, allocations: 0.5312 kB / 0.8227 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.425, allocations: 1.469 kB / 0.8227 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.425, allocations: 0 / 0.8227 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.4251, allocations: 175.2 kB / 0.8229 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-06/0.4251, allocations: 6.109 kB / 0.8229 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.265e-06/0.4251, allocations: 1.062 kB / 0.8229 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.4251, allocations: 4.859 kB / 0.8229 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.4252, allocations: 3.078 kB / 0.8229 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.4252, allocations: 5.344 kB / 0.8229 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.637e-05/0.4252, allocations: 87.44 kB / 0.823 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4252, allocations: 1.156 kB / 0.823 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001322/0.4253, allocations: 3.219 kB / 0.823 GB, free: 22.02 MB / 0.6355 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 6.34e-05/0.4254, allocations: 93.5 kB / 0.823 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.4255, allocations: 38.39 kB / 0.8231 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.4255, allocations: 8 kB / 0.8231 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.464e-05/0.4255, allocations: 20.19 kB / 0.8231 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.4257, allocations: 10.48 kB / 0.8231 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/0.4259, allocations: 129.9 kB / 0.8232 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.932e-05/0.426, allocations: 0.6768 MB / 0.8239 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.426, allocations: 12.72 kB / 0.8239 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.426, allocations: 4.062 kB / 0.8239 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of Templates: time 0.001449/0.4275, allocations: 0.5459 MB / 0.8245 GB, free: 21.02 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.48714159312658] Failed to read output from testmodel.py, exit status != 0: 0.43242916208691895 0.44014854699999995 0.01577174 Calling exit ...