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.0009264/0.0009264, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007431/0.0007431, allocations: 203.2 kB / 23 MB, free: 3.113 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.894/0.894, allocations: 230.6 MB / 256.8 MB, free: 3.477 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.7662/0.7662, allocations: 203.8 MB / 0.5049 GB, free: 0.7188 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.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: 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.0009181/0.0009181, allocations: 59.91 kB / 0.7195 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4535, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002135/0.4556, allocations: 1.445 MB / 0.8205 GB, free: 24.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0004667/0.4561, allocations: 254.1 kB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.406e-05/0.4562, allocations: 0.7812 kB / 0.8207 GB, free: 24.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.4562, allocations: 4.547 kB / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.407e-05/0.4562, allocations: 6.094 kB / 0.8208 GB, free: 24.11 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.4566, allocations: 54.94 kB / 0.8208 GB, free: 24.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.218e-05/0.4567, allocations: 19.73 kB / 0.8208 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.4568, allocations: 8.703 kB / 0.8208 GB, free: 24.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.4568, allocations: 13.36 kB / 0.8208 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.4569, allocations: 8.938 kB / 0.8209 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.4569, allocations: 2.656 kB / 0.8209 GB, free: 24.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.457, allocations: 64.02 kB / 0.8209 GB, free: 24.05 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.457, allocations: 6.875 kB / 0.8209 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.4571, allocations: 9.938 kB / 0.8209 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001475/0.4572, allocations: 56.91 kB / 0.821 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4572, allocations: 0 / 0.821 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4572, allocations: 0.6875 kB / 0.821 GB, free: 24.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.4572, allocations: 1.312 kB / 0.821 GB, free: 24.02 MB / 0.6355 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.0003446/0.4576, allocations: 270.9 kB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4576, allocations: 15.03 kB / 0.8213 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.4576, allocations: 8.047 kB / 0.8213 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.562e-05/0.4577, allocations: 106 kB / 0.8214 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.4577, allocations: 3.312 kB / 0.8214 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.4577, allocations: 1.5 kB / 0.8214 GB, free: 23.61 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4579, allocations: 49.25 kB / 0.8214 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4579, allocations: 192 / 0.8214 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.4579, allocations: 7.219 kB / 0.8214 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4579, allocations: 0 / 0.8214 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.805e-05/0.458, allocations: 33.12 kB / 0.8215 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.4582, allocations: 222 kB / 0.8217 GB, free: 23.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.593e-05/0.4583, allocations: 43.56 kB / 0.8217 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.095e-05/0.4584, allocations: 22.59 kB / 0.8217 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003474/0.4587, allocations: 78.16 kB / 0.8218 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.4587, allocations: 39.95 kB / 0.8219 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.4587, allocations: 0 / 0.8219 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002426/0.459, allocations: 84.31 kB / 0.8219 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.459, allocations: 56.5 kB / 0.822 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.801e-05/0.4591, allocations: 96.45 kB / 0.8221 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.4591, allocations: 26.64 kB / 0.8221 GB, free: 23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.4591, allocations: 90.03 kB / 0.8222 GB, free: 22.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.4591, allocations: 8.922 kB / 0.8222 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.098e-05/0.4591, allocations: 12.67 kB / 0.8222 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.617e-05/0.4592, allocations: 317.7 kB / 0.8225 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.4592, allocations: 16.86 kB / 0.8225 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.415e-05/0.4592, allocations: 19.17 kB / 0.8225 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.94e-05/0.4593, allocations: 37.47 kB / 0.8226 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4593, allocations: 0 / 0.8226 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001184/0.4595, allocations: 75.75 kB / 0.8227 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4595, allocations: 3.969 kB / 0.8227 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4595, allocations: 1.344 kB / 0.8227 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4595, allocations: 0 / 0.8227 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.4595, allocations: 9.578 kB / 0.8227 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4596, allocations: 0.5156 kB / 0.8227 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.4596, allocations: 5.656 kB / 0.8227 GB, free: 22.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.4596, allocations: 5.188 kB / 0.8227 GB, free: 22.5 MB / 0.6355 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.06e-05/0.4596, allocations: 121.5 kB / 0.8228 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.4596, allocations: 1.125 kB / 0.8228 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.4598, allocations: 75.59 kB / 0.8229 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4598, allocations: 0 / 0.8229 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.4598, allocations: 0.875 kB / 0.8229 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4598, allocations: 1.219 kB / 0.8229 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.68e-05/0.4599, allocations: 134.5 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4599, allocations: 5.062 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.4599, allocations: 8.078 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4599, allocations: 1.609 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.4599, allocations: 0.9062 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4599, allocations: 0 / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4599, allocations: 0.8438 kB / 0.823 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.46, allocations: 169.9 kB / 0.8232 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.46, allocations: 6.016 kB / 0.8232 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.46, allocations: 1.641 kB / 0.8232 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.4601, allocations: 6.219 kB / 0.8232 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.4601, allocations: 10.12 kB / 0.8232 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.4601, allocations: 5.5 kB / 0.8232 GB, free: 22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.96e-05/0.4601, allocations: 81.12 kB / 0.8233 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.4601, allocations: 0 / 0.8233 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001825/0.4603, allocations: 18.16 kB / 0.8233 GB, free: 21.93 MB / 0.6355 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.0001523/0.4605, allocations: 109.8 kB / 0.8234 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.4606, allocations: 35.17 kB / 0.8234 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4606, allocations: 4.062 kB / 0.8234 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.595e-05/0.4607, allocations: 20.61 kB / 0.8235 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.4608, allocations: 6.156 kB / 0.8235 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.4611, allocations: 132.8 kB / 0.8236 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.389e-05/0.4612, allocations: 0.6754 MB / 0.8243 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/0.4612, allocations: 13.3 kB / 0.8243 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.4612, allocations: 1.125 kB / 0.8243 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.00212/0.4633, allocations: 0.7692 MB / 0.825 GB, free: 20.93 MB / 0.6355 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.73941095196642] Failed to read output from testmodel.py, exit status != 0: 0.4689094671048224 0.47655453900000005 0.017495541 Calling exit ...