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.001126/0.001126, 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.0008231/0.0008231, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8658/0.8658, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7019/0.7019, allocations: 154.6 MB / 414.5 MB, free: 0.8633 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.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.553e-06/1.553e-06, allocations: 0 / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.862e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.001693/0.001712, allocations: 1.471 MB / 0.6207 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003857/0.002097, allocations: 227.2 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.002123, allocations: 0 / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.002148, allocations: 0 / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.002185, allocations: 7.938 kB / 0.6209 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.002505, allocations: 51.88 kB / 0.621 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.002562, allocations: 19.92 kB / 0.621 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.002648, allocations: 12 kB / 0.621 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.854e-05/0.002697, allocations: 15.92 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.381e-05/0.002731, allocations: 11.97 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.002742, allocations: 0 / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.002853, allocations: 55.89 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.002865, allocations: 4 kB / 0.6211 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.93e-05/0.002885, allocations: 11.92 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.003012, allocations: 59.84 kB / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003014, allocations: 0 / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.71e-07/0.003015, allocations: 0 / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003019, allocations: 4 kB / 0.6212 GB, free: 11.3 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.0003306/0.003349, allocations: 270.3 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.003382, allocations: 9.469 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.003409, allocations: 4.891 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.194e-05/0.003481, allocations: 109.7 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.003491, allocations: 384 / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.003502, allocations: 8.375 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.003622, allocations: 42.23 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.003631, allocations: 4.172 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.00364, allocations: 8.375 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.003644, allocations: 4.375 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.003727, allocations: 35.89 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.003959, allocations: 184.6 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.41e-05/0.004033, allocations: 42.53 kB / 0.6219 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.004077, allocations: 28.84 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/0.004382, allocations: 71.92 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.004402, allocations: 38.5 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.004403, allocations: 0 / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002134/0.004617, allocations: 85.47 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.004641, allocations: 59.53 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.004692, allocations: 101.8 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.004701, allocations: 25.7 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.004735, allocations: 84.14 kB / 0.6223 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.00475, allocations: 7.953 kB / 0.6223 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.004772, allocations: 9.719 kB / 0.6224 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.004976, allocations: 322.8 kB / 0.6227 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.876e-05/0.005015, allocations: 11.98 kB / 0.6227 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.005048, allocations: 11.98 kB / 0.6227 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.456e-05/0.005123, allocations: 48.88 kB / 0.6227 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005125, allocations: 0 / 0.6227 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.587e-05/0.005221, allocations: 65.61 kB / 0.6228 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.005231, allocations: 4 kB / 0.6228 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.005236, allocations: 3.938 kB / 0.6228 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.005246, allocations: 0 / 0.6228 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/0.005297, allocations: 16.02 kB / 0.6228 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.005301, allocations: 0 / 0.6228 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.178e-05/0.005323, allocations: 7.984 kB / 0.6228 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.005327, allocations: 0 / 0.6228 GB, free: 9.43 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.757e-05/0.005375, allocations: 110.8 kB / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.075e-05/0.005385, allocations: 0 / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.005512, allocations: 80.84 kB / 0.623 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.005514, allocations: 4.031 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.005517, allocations: 4 kB / 0.623 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.005521, allocations: 3.984 kB / 0.623 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.94e-05/0.0056, allocations: 101.3 kB / 0.6231 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.005601, allocations: 0 / 0.6231 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.005623, allocations: 11.92 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.005626, allocations: 4 kB / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-06/0.00563, allocations: 0 / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.005633, allocations: 3.938 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.005634, allocations: 3.938 kB / 0.6231 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.005751, allocations: 163.5 kB / 0.6233 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.005758, allocations: 8 kB / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.566e-06/0.005767, allocations: 4 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.538e-05/0.005802, allocations: 7.922 kB / 0.6233 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.00583, allocations: 4 kB / 0.6233 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.005832, allocations: 0 / 0.6233 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.453e-05/0.005856, allocations: 83.45 kB / 0.6234 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005856, allocations: 3.938 kB / 0.6234 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001647/0.006021, allocations: 12 kB / 0.6234 GB, free: 8.762 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.0001345/0.006155, allocations: 131.1 kB / 0.6235 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.00627, allocations: 35.97 kB / 0.6236 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006271, allocations: 0 / 0.6236 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.644e-05/0.006307, allocations: 16.05 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.006477, allocations: 11.98 kB / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.006691, allocations: 129.7 kB / 0.6237 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.267e-05/0.006734, allocations: 59.48 kB / 0.6238 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.006752, allocations: 8.5 kB / 0.6238 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of SimCode: time 2.81e-07/0.006753, allocations: 0 / 0.6238 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of Templates: time 0.001518/0.008271, allocations: 0.7966 MB / 0.6246 GB, free: 7.527 MB / 0.5886 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: 4.998373216949403] Failed to read output from testmodel.py, exit status != 0: 0.012643604539334774 0.020749789 0.016116889000000002 Calling exit ...