Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.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.0007712/0.0007712, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009556/0.001727, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00108/0.00108, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001307/0.002387, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9268/0.9268, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09683/1.024, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42: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 4.0.0-master/package.mo): time 0.8492/0.8492, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 NFInstanceAPI.mkTop(): time 0.2936/1.143, allocations: 49.12 MB / 448.4 MB, free: 6.02 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0.5469 kB / 449.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.123e-05, allocations: 2.312 kB / 449.7 MB, free: 4.715 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003604/0.003625, allocations: 1.689 MB / 451.4 MB, free: 3.051 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00094/0.004565, allocations: 0.6019 MB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.712e-05/0.004632, allocations: 4.625 kB / 452 MB, free: 2.449 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.233e-05/0.004705, allocations: 12.62 kB / 452 MB, free: 2.438 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.004746, allocations: 21.11 kB / 452 MB, free: 2.426 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.004975, allocations: 63.78 kB / 452.1 MB, free: 2.363 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.005123, allocations: 87.33 kB / 452.2 MB, free: 2.289 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.005252, allocations: 30.03 kB / 452.2 MB, free: 2.262 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.005422, allocations: 68.25 kB / 452.3 MB, free: 2.199 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.005496, allocations: 37.55 kB / 452.3 MB, free: 2.164 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.005515, allocations: 4 kB / 452.3 MB, free: 2.16 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.952e-05/0.005604, allocations: 23.92 kB / 452.3 MB, free: 2.137 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.005639, allocations: 15.88 kB / 452.4 MB, free: 2.121 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.005673, allocations: 23.94 kB / 452.4 MB, free: 2.098 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.005809, allocations: 73.69 kB / 452.5 MB, free: 2.027 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.542e-05/0.005824, allocations: 0 / 452.5 MB, free: 2.027 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005825, allocations: 0 / 452.5 MB, free: 2.027 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.005842, allocations: 3.938 kB / 452.5 MB, free: 2.023 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004253/0.006267, allocations: 318.2 kB / 452.8 MB, free: 1.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003044/0.009311, allocations: 14.16 kB / 452.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/0.009603, allocations: 110 kB / 452.9 MB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.009796, allocations: 150.1 kB / 453 MB, free: 1.383 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.009809, allocations: 5.031 kB / 453 MB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.009822, allocations: 8.375 kB / 453.1 MB, free: 1.371 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.009979, allocations: 87.7 kB / 453.1 MB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.009988, allocations: 3.938 kB / 453.1 MB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.009997, allocations: 0.5625 kB / 453.1 MB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.01, allocations: 0 / 453.1 MB, free: 1.273 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.307e-05/0.01005, allocations: 16 kB / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.01041, allocations: 235.2 kB / 453.4 MB, free: 1.012 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/0.01048, allocations: 78.41 kB / 453.5 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.52e-05/0.01051, allocations: 15.12 kB / 453.5 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.01054, allocations: 4 kB / 453.5 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.01057, allocations: 32.06 kB / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.01057, allocations: 0 / 453.5 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001556/0.01072, allocations: 61.8 kB / 453.6 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.256e-05/0.01076, allocations: 55.41 kB / 453.6 MB, free: 0.7344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.323e-05/0.01084, allocations: 139 kB / 453.8 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.01085, allocations: 33.7 kB / 453.8 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.01089, allocations: 104.1 kB / 453.9 MB, free: 456 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.01092, allocations: 19.84 kB / 453.9 MB, free: 436 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.01096, allocations: 25.64 kB / 453.9 MB, free: 404 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.01104, allocations: 319.7 kB / 454.3 MB, free: 76 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.01106, allocations: 14.81 kB / 454.3 MB, free: 60 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.01108, allocations: 4 kB / 454.3 MB, free: 56 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.122e-05/0.01113, allocations: 35.88 kB / 454.3 MB, free: 16 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01113, allocations: 0 / 454.3 MB, free: 16 kB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.997e-05/0.01123, allocations: 58.55 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01124, allocations: 4 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01125, allocations: 0 / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.01126, allocations: 4.906 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.912e-05/0.01136, allocations: 19.92 kB / 454.4 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.01136, allocations: 1 kB / 454.4 MB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.573e-05/0.0114, allocations: 15.86 kB / 454.4 MB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.01141, allocations: 0.625 kB / 454.4 MB, free: 15.91 MB / 442.7 MB 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 (6): * Single equations (assignments): 6 * 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 6.747e-05/0.01148, allocations: 122 kB / 454.5 MB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.0115, allocations: 7.984 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.01164, allocations: 70.41 kB / 454.6 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01164, allocations: 0 / 454.6 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01164, allocations: 4.484 kB / 454.6 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01165, allocations: 1.375 kB / 454.6 MB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.01177, allocations: 89.81 kB / 454.7 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01177, allocations: 0.7969 kB / 454.7 MB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.01184, allocations: 20.98 kB / 454.7 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.01185, allocations: 15.94 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01185, allocations: 0 / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.01186, allocations: 0.7188 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01186, allocations: 0 / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.01186, allocations: 1.031 kB / 454.7 MB, free: 15.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.012, allocations: 206.2 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.01201, allocations: 4 kB / 454.9 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.01208, allocations: 4.594 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.01211, allocations: 9.422 kB / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01212, allocations: 0.8906 kB / 455 MB, free: 15.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.012e-05/0.01215, allocations: 39.02 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01215, allocations: 3.938 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001881/0.01234, allocations: 20.66 kB / 455 MB, free: 15.25 MB / 442.7 MB 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 (6): * Single equations (assignments): 6 * 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 0.0001145/0.01245, allocations: 81.84 kB / 455.1 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.01254, allocations: 32.84 kB / 455.1 MB, free: 15.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.01254, allocations: 4 kB / 455.1 MB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.01257, allocations: 21.62 kB / 455.2 MB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.01272, allocations: 14.81 kB / 455.2 MB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.01376, allocations: 218.6 kB / 455.4 MB, free: 14.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.01381, allocations: 63.34 kB / 455.4 MB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.845e-05/0.01384, allocations: 11.62 kB / 455.5 MB, free: 14.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.01389, allocations: 56 kB / 455.5 MB, free: 14.71 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01389, allocations: 0 / 455.5 MB, free: 14.71 MB / 442.7 MB Notification: Performance of Templates: time 0.002677/0.01657, allocations: 0.7025 MB / 456.2 MB, free: 14.05 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.635588876903057]