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.0009137/0.0009137, allocations: 96.36 kB / 19.7 MB, free: 452 kB / 13.93 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.0009372/0.0009372, allocations: 207.2 kB / 22.99 MB, free: 2.984 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.9423/0.9423, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.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.7841/0.7841, allocations: 203.8 MB / 0.5049 GB, free: 10.4 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009347/0.0009347, allocations: 70.89 kB / 0.7194 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4598, allocations: 102 MB / 0.819 GB, free: 1.324 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001678/0.4615, allocations: 1.449 MB / 0.8204 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003897/0.4618, allocations: 256.6 kB / 0.8207 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.4619, allocations: 0 / 0.8207 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.793e-05/0.4619, allocations: 0.7031 kB / 0.8207 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.4619, allocations: 3.938 kB / 0.8207 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.4622, allocations: 60.53 kB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.298e-05/0.4623, allocations: 18.86 kB / 0.8208 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.183e-05/0.4624, allocations: 8.219 kB / 0.8208 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.4624, allocations: 12.95 kB / 0.8208 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.171e-05/0.4624, allocations: 12.31 kB / 0.8208 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.596e-06/0.4625, allocations: 0.9375 kB / 0.8208 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.4626, allocations: 63.69 kB / 0.8208 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.4626, allocations: 7.328 kB / 0.8209 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.633e-05/0.4626, allocations: 5.312 kB / 0.8209 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.4627, allocations: 55.53 kB / 0.8209 GB, free: 68 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4627, allocations: 0 / 0.8209 GB, free: 68 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4627, allocations: 0 / 0.8209 GB, free: 68 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4627, allocations: 0 / 0.8209 GB, free: 68 kB / 0.6042 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.0003492/0.4631, allocations: 270 kB / 0.8212 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4631, allocations: 13.72 kB / 0.8212 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.4632, allocations: 3.062 kB / 0.8212 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.639e-05/0.4632, allocations: 123.3 kB / 0.8213 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.906e-06/0.4632, allocations: 384 / 0.8213 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.4632, allocations: 1.875 kB / 0.8213 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.4634, allocations: 52.47 kB / 0.8214 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.4634, allocations: 192 / 0.8214 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4634, allocations: 7.75 kB / 0.8214 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4634, allocations: 0 / 0.8214 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.4635, allocations: 34.38 kB / 0.8214 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002443/0.4637, allocations: 191.9 kB / 0.8216 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.4638, allocations: 37.02 kB / 0.8216 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.4638, allocations: 25.2 kB / 0.8216 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/0.4642, allocations: 84.06 kB / 0.8217 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.4642, allocations: 32.64 kB / 0.8218 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.4642, allocations: 0 / 0.8218 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002322/0.4644, allocations: 79.73 kB / 0.8218 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.4645, allocations: 52.7 kB / 0.8219 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.4645, allocations: 101.2 kB / 0.822 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.4645, allocations: 29.83 kB / 0.822 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.915e-05/0.4646, allocations: 84.05 kB / 0.8221 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.4646, allocations: 12.67 kB / 0.8221 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.4646, allocations: 22.25 kB / 0.8221 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.4647, allocations: 312.1 kB / 0.8224 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.297e-05/0.4647, allocations: 14.03 kB / 0.8224 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.4648, allocations: 18.89 kB / 0.8224 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.639e-05/0.4648, allocations: 39.83 kB / 0.8225 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4648, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/0.4649, allocations: 72.67 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.4649, allocations: 4.094 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.465, allocations: 0.6562 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.465, allocations: 1.75 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.457e-05/0.465, allocations: 8.562 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.465, allocations: 7.969 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.465, allocations: 7.906 kB / 0.8226 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.465, allocations: 0 / 0.8226 GB, free: 14.57 MB / 0.6198 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.917e-05/0.4651, allocations: 114.1 kB / 0.8227 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.4651, allocations: 3.938 kB / 0.8227 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.4652, allocations: 75.55 kB / 0.8228 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4652, allocations: 0 / 0.8228 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4652, allocations: 1.625 kB / 0.8228 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4653, allocations: 4.734 kB / 0.8228 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.231e-05/0.4653, allocations: 100.1 kB / 0.8229 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4653, allocations: 0 / 0.8229 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.4654, allocations: 16.41 kB / 0.8229 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4654, allocations: 5.969 kB / 0.8229 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.4654, allocations: 0 / 0.8229 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4654, allocations: 0.6562 kB / 0.8229 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4654, allocations: 7.875 kB / 0.8229 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.4655, allocations: 165.6 kB / 0.8231 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.4655, allocations: 9.922 kB / 0.8231 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-06/0.4655, allocations: 192 / 0.8231 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.4655, allocations: 6.938 kB / 0.8231 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.4656, allocations: 11.7 kB / 0.8231 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.4656, allocations: 3 kB / 0.8231 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.576e-05/0.4656, allocations: 82.72 kB / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4656, allocations: 0 / 0.8232 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000158/0.4658, allocations: 16.16 kB / 0.8232 GB, free: 14.02 MB / 0.6198 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.0001346/0.4659, allocations: 112.6 kB / 0.8233 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.466, allocations: 39.98 kB / 0.8233 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.466, allocations: 0 / 0.8233 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.4661, allocations: 18.55 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.4662, allocations: 9.422 kB / 0.8234 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.4664, allocations: 130.1 kB / 0.8235 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.769e-05/0.4665, allocations: 61.44 kB / 0.8235 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.4665, allocations: 15.06 kB / 0.8235 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.4665, allocations: 0 / 0.8235 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of Templates: time 0.001762/0.4683, allocations: 0.774 MB / 0.8243 GB, free: 13.64 MB / 0.6198 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: 5.688812574837357] Failed to read output from testmodel.py, exit status != 0: 0.47392153088003397 0.485408534 0.019681861000000002 Calling exit ...