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.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.001583/0.001583, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002019/0.002019, allocations: 216.2 kB / 22.99 MB, free: 4.945 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.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8238/0.8238, allocations: 134 MB / 447.2 MB, free: 9.898 MB / 350.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.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.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: 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.002001/0.002001, allocations: 65.64 kB / 0.6197 GB, free: 6.383 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1631, allocations: 85.91 MB / 0.7036 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001879/0.165, allocations: 0.5796 MB / 0.7042 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004824/0.1655, allocations: 183.8 kB / 0.7044 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.568e-05/0.1655, allocations: 0 / 0.7044 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.1655, allocations: 0 / 0.7044 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-06/0.1655, allocations: 0 / 0.7044 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.1659, allocations: 51.84 kB / 0.7044 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.004e-05/0.166, allocations: 7.938 kB / 0.7044 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.166, allocations: 3.984 kB / 0.7044 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.144e-05/0.166, allocations: 11.98 kB / 0.7044 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.229e-05/0.166, allocations: 3.938 kB / 0.7045 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.191e-06/0.166, allocations: 0 / 0.7045 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.1662, allocations: 51.89 kB / 0.7045 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.1662, allocations: 4 kB / 0.7045 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.275e-05/0.1662, allocations: 0 / 0.7045 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.1663, allocations: 35.88 kB / 0.7045 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1664, allocations: 0 / 0.7045 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1664, allocations: 0 / 0.7045 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.1664, allocations: 4 kB / 0.7045 GB, free: 15.62 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.0003627/0.1667, allocations: 246.4 kB / 0.7048 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1668, allocations: 8.031 kB / 0.7048 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.1668, allocations: 0.9375 kB / 0.7048 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.992e-05/0.1669, allocations: 110.5 kB / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1669, allocations: 384 / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1669, allocations: 384 / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.167, allocations: 34.19 kB / 0.7049 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.167, allocations: 192 / 0.7049 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.167, allocations: 7.938 kB / 0.7049 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.167, allocations: 4 kB / 0.7049 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.564e-05/0.167, allocations: 0 / 0.7049 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.1672, allocations: 97.33 kB / 0.705 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/0.1672, allocations: 18.61 kB / 0.705 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.787e-05/0.1672, allocations: 4.859 kB / 0.7051 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005654/0.1678, allocations: 83.97 kB / 0.7051 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1678, allocations: 42.48 kB / 0.7052 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1678, allocations: 0 / 0.7052 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.168, allocations: 41.53 kB / 0.7052 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.168, allocations: 51.41 kB / 0.7053 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.833e-05/0.168, allocations: 93.86 kB / 0.7054 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1681, allocations: 25.7 kB / 0.7054 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.1681, allocations: 84.14 kB / 0.7055 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.1681, allocations: 3.984 kB / 0.7055 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.1682, allocations: 9.719 kB / 0.7055 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1683, allocations: 311 kB / 0.7058 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.1683, allocations: 8 kB / 0.7058 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-06/0.1683, allocations: 0 / 0.7058 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.788e-05/0.1684, allocations: 16.8 kB / 0.7058 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1684, allocations: 0 / 0.7058 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.13e-05/0.1684, allocations: 29.7 kB / 0.7058 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1684, allocations: 11.92 kB / 0.7058 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1684, allocations: 0 / 0.7058 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1684, allocations: 4 kB / 0.7058 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-05/0.1685, allocations: 3.938 kB / 0.7058 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1685, allocations: 4.094 kB / 0.7058 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-06/0.1685, allocations: 0 / 0.7058 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1685, allocations: 0 / 0.7058 GB, free: 14.12 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.795e-05/0.1686, allocations: 109.8 kB / 0.7059 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-06/0.1686, allocations: 0 / 0.7059 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.866e-05/0.1687, allocations: 44.62 kB / 0.706 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1687, allocations: 3.938 kB / 0.706 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1687, allocations: 0 / 0.706 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1687, allocations: 0 / 0.706 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.118e-05/0.1687, allocations: 97.33 kB / 0.7061 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1687, allocations: 4.031 kB / 0.7061 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.056e-05/0.1688, allocations: 0 / 0.7061 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1688, allocations: 0 / 0.7061 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.1688, allocations: 0 / 0.7061 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1688, allocations: 11.98 kB / 0.7061 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1688, allocations: 3.938 kB / 0.7061 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.079e-05/0.1688, allocations: 61.06 kB / 0.7062 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-06/0.1688, allocations: 4 kB / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-06/0.1689, allocations: 0 / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-06/0.1689, allocations: 3.938 kB / 0.7062 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.1689, allocations: 7.969 kB / 0.7062 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.1689, allocations: 0 / 0.7062 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.307e-05/0.1689, allocations: 79.27 kB / 0.7063 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1689, allocations: 4 kB / 0.7063 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000191/0.1691, allocations: 11.94 kB / 0.7063 GB, free: 13.62 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.0001799/0.1693, allocations: 115.2 kB / 0.7064 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.1694, allocations: 11.98 kB / 0.7064 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1694, allocations: 0 / 0.7064 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.1694, allocations: 3.938 kB / 0.7064 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.1695, allocations: 6.672 kB / 0.7064 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.1697, allocations: 98.72 kB / 0.7065 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.1697, allocations: 59.22 kB / 0.7065 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.1698, allocations: 7.438 kB / 0.7066 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.1698, allocations: 0 / 0.7066 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of Templates: time 0.002116/0.1719, allocations: 0.566 MB / 0.7071 GB, free: 12.69 MB / 0.5294 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: 7.485437041148543] Failed to read output from testmodel.py, exit status != 0: 0.17892345739528537 0.194898441 0.025446578 Calling exit ...