Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.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.001458/0.001458, allocations: 80.69 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001512/0.001512, allocations: 162.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 1.31/1.31, allocations: 154.5 MB / 413.7 MB, free: 5.301 MB / 382.1 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 178] 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.97e-05/3.112e-05, allocations: 5.125 kB / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002802/0.002833, allocations: 1.449 MB / 0.6199 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000635/0.003468, allocations: 239.2 kB / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.003497, allocations: 0 / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.003531, allocations: 0 / 0.6202 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.00358, allocations: 7.875 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.003992, allocations: 55.83 kB / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.105e-05/0.004073, allocations: 23.92 kB / 0.6203 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004179, allocations: 7.984 kB / 0.6203 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.004247, allocations: 15.98 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.089e-05/0.004288, allocations: 3.984 kB / 0.6203 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.004305, allocations: 4 kB / 0.6203 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.004473, allocations: 59.83 kB / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.004492, allocations: 7.984 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.004516, allocations: 4 kB / 0.6204 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.004697, allocations: 59.84 kB / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.0047, allocations: 0 / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.51e-07/0.0047, allocations: 0 / 0.6204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.00471, allocations: 3.938 kB / 0.6204 GB, free: 2.703 MB / 0.5294 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.0005322/0.005242, allocations: 274.3 kB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.005285, allocations: 13.47 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.005318, allocations: 4.891 kB / 0.6207 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.005467, allocations: 117.7 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.005485, allocations: 8.375 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.0055, allocations: 384 / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.005692, allocations: 46.25 kB / 0.6209 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.005705, allocations: 4.172 kB / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.005715, allocations: 384 / 0.6209 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.00572, allocations: 4.375 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.005908, allocations: 35.91 kB / 0.6209 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.006235, allocations: 196.6 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.006382, allocations: 38.5 kB / 0.6211 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.01e-05/0.006472, allocations: 16.91 kB / 0.6211 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005033/0.006975, allocations: 79.91 kB / 0.6212 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.007, allocations: 30.56 kB / 0.6212 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.007001, allocations: 0 / 0.6212 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003627/0.007364, allocations: 89.52 kB / 0.6213 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.0074, allocations: 55.47 kB / 0.6214 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.007483, allocations: 101.9 kB / 0.6215 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.0075, allocations: 29.7 kB / 0.6215 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.475e-05/0.007545, allocations: 80.14 kB / 0.6216 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.007565, allocations: 7.938 kB / 0.6216 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.007601, allocations: 17.72 kB / 0.6216 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.00773, allocations: 310.8 kB / 0.6219 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.881e-05/0.007819, allocations: 11.98 kB / 0.6219 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.007897, allocations: 19.98 kB / 0.6219 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.008055, allocations: 40.88 kB / 0.622 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.008057, allocations: 4 kB / 0.622 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.008258, allocations: 69.55 kB / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.008276, allocations: 10.34 kB / 0.6221 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.008281, allocations: 3.938 kB / 0.6221 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.008295, allocations: 0 / 0.6221 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.008375, allocations: 8.031 kB / 0.6221 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.00838, allocations: 3.938 kB / 0.6221 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.93e-05/0.008429, allocations: 7.984 kB / 0.6221 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.008436, allocations: 4 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 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 7.353e-05/0.00851, allocations: 110.8 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.008533, allocations: 0 / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.008785, allocations: 80.84 kB / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008787, allocations: 0 / 0.6223 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.008791, allocations: 4.031 kB / 0.6223 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.008794, allocations: 0 / 0.6223 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.008923, allocations: 101.3 kB / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.008924, allocations: 0 / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.008985, allocations: 15.92 kB / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.008987, allocations: 192 / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.008994, allocations: 0 / 0.6224 GB, free: 476 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.009002, allocations: 7.922 kB / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.009004, allocations: 4 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.009276, allocations: 167.5 kB / 0.6226 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.009283, allocations: 7.953 kB / 0.6226 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.009298, allocations: 3.984 kB / 0.6226 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.009376, allocations: 7.938 kB / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.009416, allocations: 0 / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.009421, allocations: 3.984 kB / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.009465, allocations: 83.28 kB / 0.6227 GB, free: 172 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.009465, allocations: 0 / 0.6227 GB, free: 172 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002462/0.009711, allocations: 19.94 kB / 0.6227 GB, free: 152 kB / 0.5294 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 0.0002179/0.009929, allocations: 123.1 kB / 0.6228 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.01017, allocations: 35.98 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.01017, allocations: 0 / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.719e-05/0.01027, allocations: 28.03 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.01049, allocations: 0 / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.01076, allocations: 108.8 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.58e-05/0.01082, allocations: 55.36 kB / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.01084, allocations: 4 kB / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.01086, allocations: 12.44 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.01086, allocations: 0 / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of Templates: time 0.003395/0.01425, allocations: 0.6925 MB / 0.6237 GB, free: 15.05 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.846962794661522] Failed to read output from testmodel.py, exit status != 0: 0.022318918257951736 0.036865937 0.029126962000000003 Calling exit ...