Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001305/0.001305, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001436/0.001436, allocations: 160.4 kB / 23.01 MB, free: 4.602 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.408/1.408, allocations: 177.2 MB / 203.4 MB, free: 8.914 MB / 190.1 MB " [Timeout remaining time 179] 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.8057/0.8057, allocations: 101.3 MB / 361.1 MB, free: 9.496 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.002078/0.002078, allocations: 63.12 kB / 0.5356 GB, free: 5.234 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1434, allocations: 85.88 MB / 0.6195 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002507/0.146, allocations: 1.455 MB / 0.6209 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.1465, allocations: 240.1 kB / 0.6211 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.1465, allocations: 0 / 0.6211 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.1465, allocations: 0 / 0.6211 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.1466, allocations: 3.938 kB / 0.6211 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1469, allocations: 55.83 kB / 0.6212 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.1469, allocations: 27.91 kB / 0.6212 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.967e-05/0.147, allocations: 4 kB / 0.6212 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/0.147, allocations: 11.92 kB / 0.6212 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.906e-05/0.1471, allocations: 8 kB / 0.6212 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1471, allocations: 4 kB / 0.6213 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1472, allocations: 59.88 kB / 0.6213 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.375e-05/0.1472, allocations: 4 kB / 0.6213 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.1473, allocations: 7.938 kB / 0.6213 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1474, allocations: 55.78 kB / 0.6214 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1474, allocations: 4 kB / 0.6214 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1474, allocations: 0 / 0.6214 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.1474, allocations: 0 / 0.6214 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004352/0.1478, allocations: 270.2 kB / 0.6216 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1479, allocations: 12.03 kB / 0.6216 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.1479, allocations: 8.938 kB / 0.6217 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.148, allocations: 106.5 kB / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.148, allocations: 384 / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.148, allocations: 8.375 kB / 0.6218 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1482, allocations: 46.23 kB / 0.6218 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1482, allocations: 4.125 kB / 0.6218 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1482, allocations: 7.938 kB / 0.6218 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.1482, allocations: 0 / 0.6218 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.1484, allocations: 39.95 kB / 0.6219 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002752/0.1487, allocations: 188.6 kB / 0.622 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1488, allocations: 34.55 kB / 0.6221 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.1489, allocations: 20.91 kB / 0.6221 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004719/0.1493, allocations: 87.8 kB / 0.6222 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1494, allocations: 30.56 kB / 0.6222 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1494, allocations: 0 / 0.6222 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.1497, allocations: 85.58 kB / 0.6223 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1498, allocations: 51.41 kB / 0.6223 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.1499, allocations: 97.84 kB / 0.6224 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1499, allocations: 29.77 kB / 0.6225 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.179e-05/0.1499, allocations: 96.12 kB / 0.6226 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.1499, allocations: 3.953 kB / 0.6226 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.15, allocations: 13.72 kB / 0.6226 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1501, allocations: 318.8 kB / 0.6229 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-05/0.1502, allocations: 11.98 kB / 0.6229 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.787e-05/0.1503, allocations: 23.92 kB / 0.6229 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.1504, allocations: 36.89 kB / 0.6229 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1504, allocations: 0 / 0.6229 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.1506, allocations: 73.55 kB / 0.623 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1507, allocations: 4 kB / 0.623 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1507, allocations: 0 / 0.623 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1507, allocations: 4 kB / 0.623 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.1507, allocations: 7.984 kB / 0.623 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1508, allocations: 0 / 0.623 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.1508, allocations: 12.02 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.1508, allocations: 0 / 0.623 GB, free: 13.75 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 (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 8.529e-05/0.1509, allocations: 117.8 kB / 0.6231 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.1509, allocations: 3.938 kB / 0.6232 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.1511, allocations: 68.97 kB / 0.6232 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1511, allocations: 0 / 0.6232 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1511, allocations: 0 / 0.6232 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1512, allocations: 0 / 0.6232 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.1513, allocations: 109.3 kB / 0.6233 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1513, allocations: 0 / 0.6233 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.1514, allocations: 11.98 kB / 0.6233 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1514, allocations: 4.125 kB / 0.6233 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.1514, allocations: 4 kB / 0.6233 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1514, allocations: 0 / 0.6233 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1514, allocations: 0 / 0.6233 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.1516, allocations: 167.4 kB / 0.6235 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.1516, allocations: 19.86 kB / 0.6235 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.1516, allocations: 0 / 0.6235 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.1517, allocations: 7.984 kB / 0.6235 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.1517, allocations: 0 / 0.6235 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1518, allocations: 0 / 0.6235 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.1518, allocations: 87.22 kB / 0.6236 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1518, allocations: 0 / 0.6236 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002426/0.152, allocations: 19.98 kB / 0.6236 GB, free: 13.08 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 (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.0001693/0.1522, allocations: 115.1 kB / 0.6237 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1524, allocations: 39.89 kB / 0.6238 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1524, allocations: 0 / 0.6238 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.1525, allocations: 19.98 kB / 0.6238 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1527, allocations: 0 / 0.6238 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.153, allocations: 117.5 kB / 0.6239 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.865e-05/0.1531, allocations: 63.34 kB / 0.624 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.792e-05/0.1531, allocations: 0 / 0.624 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.1531, allocations: 8.5 kB / 0.624 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of SimCode: time 3.5e-07/0.1531, allocations: 0 / 0.624 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of Templates: time 0.00302/0.1561, allocations: 0.666 MB / 0.6246 GB, free: 12 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.013159947004169] Failed to read output from testmodel.py, exit status != 0: 0.16319223097525537 0.17822755899999995 0.02784979499999994 Calling exit ...