Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001318/0.001318, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001406/0.001406, allocations: 158.2 kB / 23.01 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.393/1.393, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.7981/0.7981, allocations: 101.3 MB / 361.1 MB, free: 9.551 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.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.002105/0.002105, allocations: 65.27 kB / 0.5357 GB, free: 5.215 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.1371/0.1392, allocations: 85.88 MB / 0.6195 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001704/0.1409, allocations: 0.5862 MB / 0.6201 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004442/0.1414, allocations: 175.8 kB / 0.6203 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.1414, allocations: 4 kB / 0.6203 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.003e-05/0.1414, allocations: 0 / 0.6203 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-06/0.1414, allocations: 0 / 0.6203 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.1417, allocations: 47.84 kB / 0.6203 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.425e-05/0.1418, allocations: 8 kB / 0.6203 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 2.942e-05/0.1418, allocations: 0 / 0.6203 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.211e-05/0.1418, allocations: 3.984 kB / 0.6203 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.485e-05/0.1418, allocations: 0 / 0.6203 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.871e-06/0.1418, allocations: 0 / 0.6203 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.142, allocations: 55.94 kB / 0.6204 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.142, allocations: 11.88 kB / 0.6204 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.058e-05/0.142, allocations: 0 / 0.6204 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.1421, allocations: 35.88 kB / 0.6204 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1421, allocations: 0 / 0.6204 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1421, allocations: 0 / 0.6204 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.1421, allocations: 0 / 0.6204 GB, free: 0.6211 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.0002762/0.1424, allocations: 246.4 kB / 0.6207 GB, free: 356 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1424, allocations: 12.02 kB / 0.6207 GB, free: 344 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.1425, allocations: 4.938 kB / 0.6207 GB, free: 340 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.088e-05/0.1425, allocations: 102.5 kB / 0.6208 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1426, allocations: 384 / 0.6208 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-06/0.1426, allocations: 4.375 kB / 0.6208 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/0.1426, allocations: 30.27 kB / 0.6208 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1426, allocations: 192 / 0.6208 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1427, allocations: 7.938 kB / 0.6208 GB, free: 164 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.1427, allocations: 0 / 0.6208 GB, free: 164 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.649e-05/0.1427, allocations: 3.938 kB / 0.6208 GB, free: 160 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.1428, allocations: 101.3 kB / 0.6209 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.913e-05/0.1428, allocations: 18.56 kB / 0.6209 GB, free: 0 / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.1429, allocations: 4.859 kB / 0.6209 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/0.1434, allocations: 76.02 kB / 0.621 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1434, allocations: 30.56 kB / 0.621 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1434, allocations: 0 / 0.621 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001209/0.1435, allocations: 45.53 kB / 0.6211 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.1436, allocations: 55.39 kB / 0.6211 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.094e-05/0.1436, allocations: 89.86 kB / 0.6212 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1436, allocations: 29.7 kB / 0.6213 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.1437, allocations: 84.27 kB / 0.6213 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1437, allocations: 0 / 0.6213 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1437, allocations: 13.72 kB / 0.6213 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1439, allocations: 310.8 kB / 0.6216 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-06/0.1439, allocations: 0 / 0.6216 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/0.1439, allocations: 0 / 0.6216 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.1439, allocations: 8.859 kB / 0.6217 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1439, allocations: 0 / 0.6217 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.008e-05/0.144, allocations: 45.62 kB / 0.6217 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.144, allocations: 8.094 kB / 0.6217 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.144, allocations: 0 / 0.6217 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.144, allocations: 0 / 0.6217 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.51e-05/0.144, allocations: 7.922 kB / 0.6217 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.144, allocations: 4 kB / 0.6217 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.007e-06/0.144, allocations: 3.938 kB / 0.6217 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-06/0.144, allocations: 3.938 kB / 0.6217 GB, free: 15.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 6.718e-05/0.1441, allocations: 105.8 kB / 0.6218 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-06/0.1441, allocations: 0 / 0.6218 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/0.1442, allocations: 48.62 kB / 0.6219 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.1442, allocations: 7.969 kB / 0.6219 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1442, allocations: 0 / 0.6219 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1442, allocations: 0 / 0.6219 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.784e-05/0.1443, allocations: 93.33 kB / 0.622 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1443, allocations: 0 / 0.622 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.1443, allocations: 4 kB / 0.622 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1443, allocations: 0 / 0.622 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1443, allocations: 3.984 kB / 0.622 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1443, allocations: 0 / 0.622 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1443, allocations: 3.938 kB / 0.622 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.962e-05/0.1444, allocations: 61.14 kB / 0.622 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-06/0.1444, allocations: 0 / 0.622 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1444, allocations: 4 kB / 0.622 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.713e-06/0.1444, allocations: 0 / 0.622 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.1444, allocations: 15.86 kB / 0.6221 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.1444, allocations: 0 / 0.6221 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.18e-05/0.1445, allocations: 75.28 kB / 0.6221 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1445, allocations: 0 / 0.6221 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002002/0.1447, allocations: 15.94 kB / 0.6221 GB, free: 14.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.0001685/0.1448, allocations: 115.2 kB / 0.6223 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.916e-05/0.1449, allocations: 4 kB / 0.6223 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1449, allocations: 0 / 0.6223 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.397e-06/0.1449, allocations: 4 kB / 0.6223 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.145, allocations: 6.656 kB / 0.6223 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001628/0.1452, allocations: 80.81 kB / 0.6223 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.471e-05/0.1452, allocations: 55.47 kB / 0.6224 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.058e-05/0.1452, allocations: 11.94 kB / 0.6224 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.1453, allocations: 12.5 kB / 0.6224 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1453, allocations: 0 / 0.6224 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.002418/0.1477, allocations: 399.9 kB / 0.6228 GB, free: 13.9 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.096284967032261] Failed to read output from testmodel.py, exit status != 0: 0.15465518995188177 0.17014230800000002 0.024979903 Calling exit ...