Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.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.0008076/0.0008076, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008059/0.0008059, 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.8808/0.8808, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.719/0.719, allocations: 154.6 MB / 414.5 MB, free: 0.832 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.57e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001663/0.001679, allocations: 1.465 MB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004029/0.002082, allocations: 239.3 kB / 0.6209 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.002107, allocations: 0 / 0.6209 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.002133, allocations: 4 kB / 0.6209 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.935e-05/0.002172, allocations: 11.88 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.002478, allocations: 59.75 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.148e-05/0.00254, allocations: 27.92 kB / 0.621 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.002619, allocations: 0 / 0.621 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.495e-05/0.002664, allocations: 11.98 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.029e-05/0.002694, allocations: 7.938 kB / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-06/0.002704, allocations: 0 / 0.6211 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.002812, allocations: 63.92 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.433e-05/0.002826, allocations: 4 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.002843, allocations: 7.984 kB / 0.6211 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.002971, allocations: 71.72 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002972, allocations: 0 / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002973, allocations: 0 / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.002977, allocations: 0 / 0.6212 GB, free: 11.21 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003222/0.003299, allocations: 266.3 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.003333, allocations: 13.47 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.003358, allocations: 4.891 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.869e-05/0.003426, allocations: 113.8 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.777e-06/0.003435, allocations: 384 / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.003443, allocations: 4.375 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.003555, allocations: 46.25 kB / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.003561, allocations: 192 / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.003571, allocations: 8.344 kB / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.003575, allocations: 384 / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.577e-05/0.003661, allocations: 39.84 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.003894, allocations: 192.6 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.04e-05/0.003975, allocations: 38.56 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.143e-05/0.004016, allocations: 16.91 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003114/0.004328, allocations: 79.91 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.004347, allocations: 30.56 kB / 0.622 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.004348, allocations: 0 / 0.622 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002104/0.004558, allocations: 97.47 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.004585, allocations: 51.41 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.884e-05/0.004634, allocations: 97.86 kB / 0.6223 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.004644, allocations: 29.69 kB / 0.6223 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.004675, allocations: 88.08 kB / 0.6224 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.00469, allocations: 7.891 kB / 0.6224 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.004716, allocations: 17.72 kB / 0.6224 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.695e-05/0.004793, allocations: 315 kB / 0.6227 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.00483, allocations: 11.98 kB / 0.6227 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.004867, allocations: 23.97 kB / 0.6227 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.681e-05/0.004943, allocations: 36.77 kB / 0.6228 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.004945, allocations: 0 / 0.6228 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.729e-05/0.005042, allocations: 69.72 kB / 0.6228 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/0.005052, allocations: 4 kB / 0.6228 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.005057, allocations: 3.938 kB / 0.6228 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.005067, allocations: 4 kB / 0.6228 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.81e-05/0.005115, allocations: 7.984 kB / 0.6228 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.005119, allocations: 0 / 0.6228 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.005139, allocations: 4 kB / 0.6228 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.005143, allocations: 0 / 0.6228 GB, free: 9.344 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 (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 4.982e-05/0.005192, allocations: 118.8 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.005203, allocations: 4.031 kB / 0.623 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.005327, allocations: 80.84 kB / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005328, allocations: 0 / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.005332, allocations: 0 / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005334, allocations: 3.938 kB / 0.623 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.216e-05/0.005416, allocations: 105.3 kB / 0.6231 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.02e-07/0.005417, allocations: 0 / 0.6231 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.005439, allocations: 8 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.00544, allocations: 4.031 kB / 0.6232 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.005446, allocations: 3.984 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.005448, allocations: 3.938 kB / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.005449, allocations: 0 / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.005565, allocations: 163.5 kB / 0.6233 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.005571, allocations: 8 kB / 0.6233 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-06/0.00558, allocations: 3.938 kB / 0.6233 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.58e-05/0.005616, allocations: 7.938 kB / 0.6233 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.005647, allocations: 8.016 kB / 0.6233 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.005649, allocations: 0 / 0.6233 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.627e-05/0.005675, allocations: 83.28 kB / 0.6234 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005675, allocations: 3.938 kB / 0.6234 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001548/0.00583, allocations: 19.94 kB / 0.6234 GB, free: 8.66 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 (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.0001353/0.005965, allocations: 115.2 kB / 0.6236 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.006078, allocations: 39.95 kB / 0.6236 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.006079, allocations: 0 / 0.6236 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.006119, allocations: 19.98 kB / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.006271, allocations: 0 / 0.6236 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.006486, allocations: 134.5 kB / 0.6237 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.77e-05/0.006523, allocations: 59.34 kB / 0.6238 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.834e-05/0.006542, allocations: 16.95 kB / 0.6238 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of SimCode: time 3.61e-07/0.006542, allocations: 0 / 0.6238 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of Templates: time 0.001513/0.008055, allocations: 0.7883 MB / 0.6246 GB, free: 7.434 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.992105260491371] Failed to read output from testmodel.py, exit status != 0: 0.012212272733449936 0.020038602000000003 0.015431731 Calling exit ...