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.0007672/0.0007672, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000777/0.000777, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8737/0.8737, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.7143/0.7143, allocations: 154.5 MB / 414.5 MB, free: 0.8359 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.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.794e-06/1.794e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.085e-05/3.264e-05, allocations: 3.75 kB / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002271/0.002303, allocations: 1.606 MB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007842/0.003088, allocations: 0.565 MB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.003154, allocations: 3.938 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.003259, allocations: 15.86 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.095e-05/0.00329, allocations: 23.8 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.003577, allocations: 63.78 kB / 0.6215 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.003711, allocations: 91.64 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.003864, allocations: 23.97 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.004019, allocations: 59.88 kB / 0.6217 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.004089, allocations: 27.91 kB / 0.6217 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.00411, allocations: 8 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.236e-05/0.004182, allocations: 27.86 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.004222, allocations: 19.92 kB / 0.6217 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.004254, allocations: 23.92 kB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.004422, allocations: 103.6 kB / 0.6219 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.004424, allocations: 0 / 0.6219 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.923e-06/0.004426, allocations: 0 / 0.6219 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.004431, allocations: 0 / 0.6219 GB, free: 10.56 MB / 0.5886 GB 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.0004552/0.004886, allocations: 333.9 kB / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.00493, allocations: 9.469 kB / 0.6222 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.005123, allocations: 40.86 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.005322, allocations: 150 kB / 0.6224 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.005333, allocations: 4.375 kB / 0.6224 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.005346, allocations: 8.375 kB / 0.6224 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.005534, allocations: 102.2 kB / 0.6225 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.005544, allocations: 3.938 kB / 0.6225 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.00556, allocations: 8 kB / 0.6225 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.005565, allocations: 0 / 0.6225 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.005973, allocations: 99.92 kB / 0.6226 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.006374, allocations: 308.2 kB / 0.6229 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.198e-05/0.006466, allocations: 54.55 kB / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.893e-05/0.006534, allocations: 48.95 kB / 0.623 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/0.006578, allocations: 7.938 kB / 0.623 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.006598, allocations: 34.55 kB / 0.623 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.0066, allocations: 7.938 kB / 0.623 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0003034/0.006903, allocations: 161.6 kB / 0.6232 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.006933, allocations: 51.41 kB / 0.6232 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.547e-05/0.007019, allocations: 144.6 kB / 0.6234 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.00703, allocations: 25.7 kB / 0.6234 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.007079, allocations: 108.2 kB / 0.6235 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.007105, allocations: 27.83 kB / 0.6235 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.007136, allocations: 21.72 kB / 0.6236 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.275e-05/0.007219, allocations: 322.8 kB / 0.6239 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.536e-05/0.007284, allocations: 35.97 kB / 0.6239 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.836e-05/0.007343, allocations: 43.91 kB / 0.6239 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.007465, allocations: 89.17 kB / 0.624 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007467, allocations: 0 / 0.624 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001628/0.00763, allocations: 129.6 kB / 0.6241 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.007645, allocations: 11.98 kB / 0.6242 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.00765, allocations: 0 / 0.6242 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.007662, allocations: 0 / 0.6242 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.007748, allocations: 15.98 kB / 0.6242 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.007754, allocations: 3.938 kB / 0.6242 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.00779, allocations: 19.86 kB / 0.6242 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.007809, allocations: 0 / 0.6242 GB, free: 8.012 MB / 0.5886 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 (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.829e-05/0.007877, allocations: 126.8 kB / 0.6243 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.007897, allocations: 11.91 kB / 0.6243 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.008118, allocations: 138.4 kB / 0.6245 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.008121, allocations: 4 kB / 0.6245 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.008132, allocations: 3.938 kB / 0.6245 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.008135, allocations: 0 / 0.6245 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.008251, allocations: 137.3 kB / 0.6246 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.008252, allocations: 0 / 0.6246 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.008301, allocations: 31.91 kB / 0.6246 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.008304, allocations: 3.938 kB / 0.6246 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.008312, allocations: 0 / 0.6246 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008313, allocations: 0 / 0.6246 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.008316, allocations: 3.984 kB / 0.6246 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.008505, allocations: 227.6 kB / 0.6249 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.008516, allocations: 7.953 kB / 0.6249 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.008528, allocations: 7.938 kB / 0.6249 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.527e-05/0.008574, allocations: 7.984 kB / 0.6249 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.008619, allocations: 11.98 kB / 0.6249 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.008629, allocations: 11.94 kB / 0.6249 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.008676, allocations: 103.3 kB / 0.625 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.008676, allocations: 0 / 0.625 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001624/0.008839, allocations: 23.88 kB / 0.625 GB, free: 7.098 MB / 0.5886 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 (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.0001221/0.008961, allocations: 99.19 kB / 0.6251 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.009137, allocations: 95.94 kB / 0.6252 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009139, allocations: 4 kB / 0.6252 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.009202, allocations: 47.95 kB / 0.6253 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.009368, allocations: 6.188 kB / 0.6253 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.009727, allocations: 247.3 kB / 0.6255 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.05e-05/0.009788, allocations: 92.3 kB / 0.6256 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.009821, allocations: 16.5 kB / 0.6256 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.009821, allocations: 4 kB / 0.6256 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of Templates: time 0.002071/0.01189, allocations: 1.219 MB / 0.6268 GB, free: 5.223 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.169072023592889] Failed to read output from testmodel.py, exit status != 0: 0.017390857450664043 0.030724932000000003 0.024539504 Calling exit ...