Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002616/0.002616, allocations: 188.6 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 251 MB, free: 13.22 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.86/0.86, allocations: 134 MB / 440.3 MB, free: 196 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002684/0.002684, allocations: 69.25 kB / 0.6108 GB, free: 13.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1741, allocations: 84.74 MB / 0.6935 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001669/0.1757, allocations: 0.5791 MB / 0.6941 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000482/0.1762, allocations: 203.7 kB / 0.6943 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.063e-05/0.1762, allocations: 0 / 0.6943 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.1763, allocations: 0 / 0.6943 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.1763, allocations: 0 / 0.6943 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.1766, allocations: 63.72 kB / 0.6943 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.24e-05/0.1766, allocations: 0 / 0.6943 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.1767, allocations: 0 / 0.6943 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.359e-05/0.1767, allocations: 4 kB / 0.6943 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.752e-05/0.1767, allocations: 0 / 0.6943 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.861e-06/0.1767, allocations: 0 / 0.6943 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1769, allocations: 67.88 kB / 0.6944 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.907e-06/0.1769, allocations: 7.922 kB / 0.6944 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.1769, allocations: 0 / 0.6944 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.177, allocations: 35.89 kB / 0.6944 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.177, allocations: 0 / 0.6944 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.293e-06/0.177, allocations: 0 / 0.6944 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.177, allocations: 0 / 0.6944 GB, free: 8.023 MB / 0.5137 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.0003/0.1773, allocations: 242.4 kB / 0.6947 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.1774, allocations: 8.031 kB / 0.6947 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.253e-05/0.1774, allocations: 0.9375 kB / 0.6947 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.918e-05/0.1775, allocations: 110.5 kB / 0.6948 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1775, allocations: 384 / 0.6948 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1775, allocations: 384 / 0.6948 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.382e-05/0.1776, allocations: 38.14 kB / 0.6948 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1776, allocations: 192 / 0.6948 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1776, allocations: 3.938 kB / 0.6948 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1776, allocations: 0 / 0.6948 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.71e-05/0.1776, allocations: 4 kB / 0.6948 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001403/0.1778, allocations: 120.7 kB / 0.6949 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/0.1778, allocations: 26.61 kB / 0.695 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.1778, allocations: 4.859 kB / 0.695 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/0.1784, allocations: 79.91 kB / 0.6951 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1785, allocations: 38.56 kB / 0.6951 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.1785, allocations: 0 / 0.6951 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.1786, allocations: 33.64 kB / 0.6951 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1786, allocations: 55.41 kB / 0.6952 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.933e-05/0.1787, allocations: 89.86 kB / 0.6953 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1787, allocations: 29.64 kB / 0.6953 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.1787, allocations: 80.14 kB / 0.6954 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.1788, allocations: 3.953 kB / 0.6954 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.1788, allocations: 21.83 kB / 0.6954 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1789, allocations: 314.8 kB / 0.6957 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.1789, allocations: 0 / 0.6957 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/0.179, allocations: 3.938 kB / 0.6957 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.524e-05/0.179, allocations: 8.859 kB / 0.6957 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.179, allocations: 0 / 0.6957 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.279e-05/0.179, allocations: 29.7 kB / 0.6957 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.179, allocations: 4.094 kB / 0.6957 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.179, allocations: 4 kB / 0.6957 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1791, allocations: 7.938 kB / 0.6957 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.1791, allocations: 3.984 kB / 0.6957 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1791, allocations: 0 / 0.6957 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.848e-06/0.1791, allocations: 0 / 0.6957 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1791, allocations: 0 / 0.6957 GB, free: 6.496 MB / 0.5137 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.545e-05/0.1792, allocations: 115.8 kB / 0.6959 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.1792, allocations: 3.938 kB / 0.6959 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.444e-05/0.1793, allocations: 48.62 kB / 0.6959 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1793, allocations: 0 / 0.6959 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1793, allocations: 0 / 0.6959 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.1793, allocations: 0 / 0.6959 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.802e-05/0.1794, allocations: 120.8 kB / 0.696 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1794, allocations: 0 / 0.696 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.1794, allocations: 0 / 0.696 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1794, allocations: 0 / 0.696 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1794, allocations: 3.938 kB / 0.696 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1794, allocations: 7.938 kB / 0.696 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1794, allocations: 0 / 0.696 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.621e-05/0.1795, allocations: 61.09 kB / 0.6961 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-06/0.1795, allocations: 0 / 0.6961 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1795, allocations: 7.938 kB / 0.6961 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-06/0.1795, allocations: 0 / 0.6961 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.1795, allocations: 4 kB / 0.6961 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1795, allocations: 3.984 kB / 0.6961 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.1796, allocations: 79.22 kB / 0.6962 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1796, allocations: 4.031 kB / 0.6962 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002027/0.1798, allocations: 19.92 kB / 0.6962 GB, free: 5.953 MB / 0.5137 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.0001827/0.18, allocations: 107.2 kB / 0.6963 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.409e-05/0.18, allocations: 7.984 kB / 0.6963 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.18, allocations: 4.062 kB / 0.6963 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-05/0.1801, allocations: 7.938 kB / 0.6963 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.1802, allocations: 2.812 kB / 0.6963 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001734/0.1804, allocations: 80.86 kB / 0.6964 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1806, allocations: 0.6729 MB / 0.6971 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.004e-05/0.1807, allocations: 0 / 0.6971 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.464e-05/0.1807, allocations: 7.438 kB / 0.6971 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1807, allocations: 0 / 0.6971 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of Templates: time 0.002701/0.1834, allocations: 423.2 kB / 0.6975 GB, free: 4.594 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.603059960529208] Failed to read output from testmodel.py, exit status != 0: 0.1912757009267807 0.21245221899999994 0.031286149 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f13278bd7b0>