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.0008022/0.0008022, allocations: 76.45 kB / 19.91 MB, free: 16 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.0007902/0.0007902, allocations: 166.3 kB / 23.18 MB, free: 1.387 MB / 18.57 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.846/0.846, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.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.6943/0.6943, allocations: 155 MB / 415 MB, free: 0.5 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0009068/0.0009068, allocations: 68.69 kB / 0.6199 GB, free: 12.74 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4435/0.4444, allocations: 102 MB / 0.7195 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001599/0.446, allocations: 0.6542 MB / 0.7202 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006605/0.4467, allocations: 0.8437 MB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.4467, allocations: 0.9688 kB / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.4467, allocations: 0 / 0.721 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.721e-05/0.4468, allocations: 9.734 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.447, allocations: 14.17 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.958e-05/0.4471, allocations: 20.42 kB / 0.7211 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.4472, allocations: 8.547 kB / 0.7211 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.189e-05/0.4473, allocations: 17.72 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.775e-05/0.4473, allocations: 13.95 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.4473, allocations: 2.156 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.653e-05/0.4474, allocations: 7.109 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.4474, allocations: 1.672 kB / 0.7211 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.4474, allocations: 11.45 kB / 0.7211 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.4475, allocations: 33.95 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4475, allocations: 0 / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4475, allocations: 0 / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.4475, allocations: 0 / 0.7211 GB, free: 22.35 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.0003422/0.4479, allocations: 268.9 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4479, allocations: 11.25 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.571e-05/0.448, allocations: 3.031 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.566e-05/0.4481, allocations: 110.6 kB / 0.7215 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.4481, allocations: 2.453 kB / 0.7215 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.4481, allocations: 5.281 kB / 0.7215 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.4482, allocations: 48.83 kB / 0.7216 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4482, allocations: 0.75 kB / 0.7216 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.4482, allocations: 7.875 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.4482, allocations: 1.125 kB / 0.7216 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.4483, allocations: 35.72 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.4486, allocations: 191.1 kB / 0.7218 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/0.4487, allocations: 36.47 kB / 0.7218 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.4487, allocations: 19.11 kB / 0.7219 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.4487, allocations: 5.625 kB / 0.7219 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.4487, allocations: 44.36 kB / 0.7219 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.774e-06/0.4487, allocations: 4 kB / 0.7219 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000247/0.449, allocations: 76.22 kB / 0.722 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.449, allocations: 52.11 kB / 0.722 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.673e-05/0.4491, allocations: 101.8 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.641e-06/0.4491, allocations: 25.7 kB / 0.7221 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.4491, allocations: 82.28 kB / 0.7222 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.4491, allocations: 13.75 kB / 0.7222 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.4491, allocations: 12.06 kB / 0.7223 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.245e-05/0.4492, allocations: 317.5 kB / 0.7226 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.507e-05/0.4492, allocations: 18.58 kB / 0.7226 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/0.4492, allocations: 17.94 kB / 0.7226 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.216e-05/0.4493, allocations: 38.05 kB / 0.7226 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4493, allocations: 0 / 0.7226 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001053/0.4494, allocations: 79.41 kB / 0.7227 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.4495, allocations: 4.531 kB / 0.7227 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4495, allocations: 5.844 kB / 0.7227 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4495, allocations: 0 / 0.7227 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.819e-05/0.4495, allocations: 8.484 kB / 0.7227 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4495, allocations: 1.219 kB / 0.7227 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.4496, allocations: 6.297 kB / 0.7227 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.4496, allocations: 0 / 0.7227 GB, free: 20.87 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.703e-05/0.4496, allocations: 113.8 kB / 0.7228 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.4496, allocations: 9.812 kB / 0.7228 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.4498, allocations: 75.84 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4498, allocations: 0.8906 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4498, allocations: 1.094 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4498, allocations: 3.984 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.383e-05/0.4498, allocations: 104 kB / 0.723 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4498, allocations: 0.7031 kB / 0.723 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/0.4499, allocations: 9.203 kB / 0.723 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4499, allocations: 8.641 kB / 0.723 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.4499, allocations: 5.031 kB / 0.723 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.4499, allocations: 0 / 0.723 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4499, allocations: 0.6562 kB / 0.723 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.45, allocations: 159.4 kB / 0.7232 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.587e-06/0.45, allocations: 19.2 kB / 0.7232 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.45, allocations: 0 / 0.7232 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.4501, allocations: 6.828 kB / 0.7232 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.4501, allocations: 6.469 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.4501, allocations: 1.438 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.704e-05/0.4501, allocations: 79.08 kB / 0.7233 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4501, allocations: 0 / 0.7233 GB, free: 20.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001362/0.4502, allocations: 4.906 kB / 0.7233 GB, free: 20.33 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 7.812e-05/0.4503, allocations: 96.3 kB / 0.7234 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.4505, allocations: 39.09 kB / 0.7234 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4505, allocations: 1.125 kB / 0.7234 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.4505, allocations: 20.38 kB / 0.7235 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.4507, allocations: 6.922 kB / 0.7235 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.4509, allocations: 141.1 kB / 0.7236 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.451, allocations: 63.33 kB / 0.7237 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.451, allocations: 10.78 kB / 0.7237 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.451, allocations: 0 / 0.7237 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of Templates: time 0.001595/0.4526, allocations: 0.5648 MB / 0.7242 GB, free: 19.95 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.2198880589567125] Failed to read output from testmodel.py, exit status != 0: 0.4577686551492661 0.46815793399999994 0.018689926000000003 Calling exit ...