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.0007171/0.0007171, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.002146, allocations: 440 kB / 10.41 MB, free: 284 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.001087/0.001087, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.002204, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9933/0.9933, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08984/1.083, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.7665/0.7665, allocations: 155.3 MB / 399.5 MB, free: 15.8 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.2793/1.046, allocations: 49.12 MB / 448.6 MB, free: 5.93 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.473e-06/1.473e-06, allocations: 0 / 450 MB, free: 4.605 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133e-05/1.281e-05, allocations: 4 kB / 450 MB, free: 4.602 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.00268/0.002693, allocations: 1.711 MB / 451.7 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009204/0.003614, allocations: 0.5977 MB / 452.3 MB, free: 2.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.003682, allocations: 3.938 kB / 452.3 MB, free: 2.316 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 7.015e-05/0.003752, allocations: 12.73 kB / 452.3 MB, free: 2.305 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.44e-05/0.003796, allocations: 15.5 kB / 452.3 MB, free: 2.297 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.004021, allocations: 74.22 kB / 452.4 MB, free: 2.227 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.004178, allocations: 84.86 kB / 452.5 MB, free: 2.16 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.004309, allocations: 29.48 kB / 452.5 MB, free: 2.133 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.004486, allocations: 71.69 kB / 452.6 MB, free: 2.066 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.036e-05/0.004566, allocations: 31.89 kB / 452.6 MB, free: 2.035 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.004586, allocations: 4.5 kB / 452.6 MB, free: 2.031 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.168e-05/0.004678, allocations: 20.42 kB / 452.6 MB, free: 2.012 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.00472, allocations: 21.22 kB / 452.6 MB, free: 1.992 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.004758, allocations: 19.94 kB / 452.7 MB, free: 1.973 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004908, allocations: 71.69 kB / 452.7 MB, free: 1.902 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.00492, allocations: 0 / 452.7 MB, free: 1.902 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.004921, allocations: 0.6875 kB / 452.7 MB, free: 1.902 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.004931, allocations: 3.938 kB / 452.7 MB, free: 1.898 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.0004528/0.005384, allocations: 324.2 kB / 453 MB, free: 1.562 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.005419, allocations: 8.031 kB / 453.1 MB, free: 1.555 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.005671, allocations: 114 kB / 453.2 MB, free: 1.426 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.005811, allocations: 155.6 kB / 453.3 MB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.005819, allocations: 6.641 kB / 453.3 MB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.00583, allocations: 6.031 kB / 453.3 MB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.005959, allocations: 89.73 kB / 453.4 MB, free: 1.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.005965, allocations: 3.938 kB / 453.4 MB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.005971, allocations: 0 / 453.4 MB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-06/0.005974, allocations: 4.781 kB / 453.4 MB, free: 1.137 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.932e-05/0.006013, allocations: 16 kB / 453.4 MB, free: 1.121 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.006315, allocations: 226.3 kB / 453.7 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.82e-05/0.006373, allocations: 75.31 kB / 453.7 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.0064, allocations: 12.86 kB / 453.8 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.00642, allocations: 0.625 kB / 453.8 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.006438, allocations: 36.06 kB / 453.8 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.006439, allocations: 0 / 453.8 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001334/0.006572, allocations: 65.73 kB / 453.9 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.006597, allocations: 55.41 kB / 453.9 MB, free: 0.6055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.765e-05/0.006675, allocations: 139.4 kB / 454 MB, free: 472 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.00669, allocations: 29.7 kB / 454.1 MB, free: 436 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.006728, allocations: 104.1 kB / 454.2 MB, free: 328 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.006748, allocations: 15.84 kB / 454.2 MB, free: 312 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-05/0.006783, allocations: 25.7 kB / 454.2 MB, free: 280 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.006898, allocations: 322.8 kB / 454.5 MB, free: 15.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.00692, allocations: 11.73 kB / 454.5 MB, free: 15.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.006937, allocations: 7.984 kB / 454.5 MB, free: 15.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.177e-05/0.006989, allocations: 31.5 kB / 454.6 MB, free: 15.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.00699, allocations: 0 / 454.6 MB, free: 15.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.558e-05/0.007076, allocations: 62.05 kB / 454.6 MB, free: 15.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.007085, allocations: 4.875 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.007088, allocations: 0.8906 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/0.007094, allocations: 0.625 kB / 454.6 MB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.007182, allocations: 19.98 kB / 454.7 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.007186, allocations: 4.594 kB / 454.7 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.96e-05/0.007225, allocations: 12.53 kB / 454.7 MB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.007242, allocations: 3.984 kB / 454.7 MB, free: 15.79 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.3e-05/0.007305, allocations: 121.1 kB / 454.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.007333, allocations: 4.562 kB / 454.8 MB, free: 15.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.007468, allocations: 78.95 kB / 454.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007469, allocations: 0 / 454.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/0.00747, allocations: 0.8125 kB / 454.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.007476, allocations: 4.875 kB / 454.9 MB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.007613, allocations: 95.02 kB / 455 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.007614, allocations: 0 / 455 MB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/0.007689, allocations: 19.98 kB / 455 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.0077, allocations: 8.672 kB / 455 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007701, allocations: 0 / 455 MB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.007708, allocations: 4.891 kB / 455 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007709, allocations: 0 / 455 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.00771, allocations: 1 kB / 455 MB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.007841, allocations: 202.1 kB / 455.2 MB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.007855, allocations: 4 kB / 455.2 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.007924, allocations: 4.625 kB / 455.2 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.007952, allocations: 9.719 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.007961, allocations: 1.312 kB / 455.2 MB, free: 15.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.25e-05/0.007993, allocations: 38.88 kB / 455.3 MB, free: 15.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007993, allocations: 0 / 455.3 MB, free: 15.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001975/0.008191, allocations: 20.38 kB / 455.3 MB, free: 15.13 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.0001731/0.008364, allocations: 77.8 kB / 455.4 MB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.008519, allocations: 36.97 kB / 455.4 MB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/0.008534, allocations: 4 kB / 455.4 MB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.305e-05/0.008587, allocations: 33.77 kB / 455.4 MB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.008726, allocations: 19.98 kB / 455.5 MB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.009607, allocations: 210.7 kB / 455.7 MB, free: 14.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.418e-05/0.009651, allocations: 63.94 kB / 455.7 MB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.00969, allocations: 10.98 kB / 455.7 MB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.009744, allocations: 55.38 kB / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.052e-06/0.009745, allocations: 0 / 455.8 MB, free: 14.58 MB / 442.7 MB Notification: Performance of Templates: time 0.002281/0.01203, allocations: 0.7082 MB / 456.5 MB, free: 13.92 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.5490319179371]