Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001407/0.001407, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002072/0.002072, allocations: 164.5 kB / 22.46 MB, free: 5.359 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.2/1.2, allocations: 154.6 MB / 413.7 MB, free: 5.309 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6186 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.073e-05/3.23e-05, allocations: 4.672 kB / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001701/0.001734, allocations: 0.597 MB / 0.6192 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000564/0.002298, allocations: 179.3 kB / 0.6193 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.476e-05/0.002313, allocations: 0 / 0.6193 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.002325, allocations: 0 / 0.6193 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-06/0.002331, allocations: 0 / 0.6193 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.002743, allocations: 47.83 kB / 0.6194 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.843e-05/0.002782, allocations: 4 kB / 0.6194 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.002822, allocations: 7.938 kB / 0.6194 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.002845, allocations: 0 / 0.6194 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.657e-05/0.002871, allocations: 3.984 kB / 0.6194 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.237e-06/0.00288, allocations: 0 / 0.6194 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.00305, allocations: 59.94 kB / 0.6194 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.003062, allocations: 3.938 kB / 0.6194 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.805e-05/0.00308, allocations: 0 / 0.6194 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.003214, allocations: 43.88 kB / 0.6195 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.003219, allocations: 4 kB / 0.6195 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00322, allocations: 0 / 0.6195 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.003224, allocations: 0 / 0.6195 GB, free: 3.668 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000323/0.003547, allocations: 238.4 kB / 0.6197 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.003589, allocations: 13.47 kB / 0.6197 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.003622, allocations: 0.9375 kB / 0.6197 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.97e-05/0.003712, allocations: 105.7 kB / 0.6198 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.003725, allocations: 4.375 kB / 0.6198 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.003731, allocations: 384 / 0.6198 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.696e-05/0.003828, allocations: 34.27 kB / 0.6199 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.003841, allocations: 4.172 kB / 0.6199 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.003851, allocations: 4.359 kB / 0.6199 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.003855, allocations: 384 / 0.6199 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.003875, allocations: 3.938 kB / 0.6199 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.004022, allocations: 101.3 kB / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.837e-05/0.00407, allocations: 22.45 kB / 0.62 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.004091, allocations: 12.95 kB / 0.62 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005162/0.004607, allocations: 71.92 kB / 0.6201 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.004641, allocations: 38.55 kB / 0.6201 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.004642, allocations: 0 / 0.6201 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001356/0.004777, allocations: 33.7 kB / 0.6202 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.004831, allocations: 51.41 kB / 0.6202 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.446e-05/0.004885, allocations: 93.92 kB / 0.6203 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.004903, allocations: 29.7 kB / 0.6203 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.004941, allocations: 80.14 kB / 0.6204 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.004968, allocations: 0 / 0.6204 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.004996, allocations: 13.72 kB / 0.6204 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.005143, allocations: 318.7 kB / 0.6207 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.696e-06/0.005151, allocations: 0 / 0.6207 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-06/0.00516, allocations: 7.984 kB / 0.6207 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.479e-05/0.005185, allocations: 8.859 kB / 0.6207 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.005186, allocations: 4 kB / 0.6207 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.897e-05/0.005235, allocations: 33.77 kB / 0.6208 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.005249, allocations: 6.344 kB / 0.6208 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005253, allocations: 0 / 0.6208 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.005268, allocations: 0 / 0.6208 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.043e-05/0.005309, allocations: 7.938 kB / 0.6208 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.005312, allocations: 0 / 0.6208 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.005327, allocations: 7.938 kB / 0.6208 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.005332, allocations: 0 / 0.6208 GB, free: 2.172 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 (1): * Single equations (assignments): 1 * 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.898e-05/0.005411, allocations: 114.8 kB / 0.6209 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.005417, allocations: 0 / 0.6209 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.758e-05/0.005495, allocations: 44.69 kB / 0.6209 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.005496, allocations: 0 / 0.6209 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.0055, allocations: 0 / 0.6209 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005502, allocations: 0 / 0.6209 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.663e-05/0.005579, allocations: 101.2 kB / 0.621 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005579, allocations: 4 kB / 0.621 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.005589, allocations: 0 / 0.621 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005591, allocations: 0 / 0.621 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.005596, allocations: 0 / 0.621 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005597, allocations: 0 / 0.621 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005598, allocations: 0 / 0.621 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.287e-05/0.005671, allocations: 73.03 kB / 0.6211 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.246e-06/0.005674, allocations: 0 / 0.6211 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.005685, allocations: 4 kB / 0.6211 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-06/0.005691, allocations: 0 / 0.6211 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.005704, allocations: 7.938 kB / 0.6211 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.005706, allocations: 0 / 0.6211 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.005738, allocations: 75.28 kB / 0.6212 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.005739, allocations: 0 / 0.6212 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001989/0.005937, allocations: 15.94 kB / 0.6212 GB, free: 1.676 MB / 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 (1): * Single equations (assignments): 1 * 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.0002105/0.006148, allocations: 127.1 kB / 0.6213 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.795e-05/0.006226, allocations: 7.938 kB / 0.6213 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006228, allocations: 0 / 0.6213 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.705e-06/0.006235, allocations: 4 kB / 0.6213 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.006361, allocations: 4 kB / 0.6213 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.00657, allocations: 76.92 kB / 0.6214 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.006613, allocations: 55.48 kB / 0.6215 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.02e-05/0.006623, allocations: 0 / 0.6215 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.653e-05/0.00664, allocations: 12.5 kB / 0.6215 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.00664, allocations: 0 / 0.6215 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of Templates: time 0.002651/0.009291, allocations: 423.5 kB / 0.6219 GB, free: 0.9297 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.701767787337303] Failed to read output from testmodel.py, exit status != 0: 0.01740042120218277 0.032360596000000005 0.026178091 Calling exit ...