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.001526/0.001526, allocations: 85.38 kB / 19.76 MB, free: 2.023 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.001368/0.001368, allocations: 159.5 kB / 23.01 MB, free: 4.961 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.961 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.8021/0.8021, allocations: 101.3 MB / 361.1 MB, free: 9.555 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.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.002135/0.002135, allocations: 64 kB / 0.5357 GB, free: 5.211 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.1373/0.1394, allocations: 85.87 MB / 0.6195 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001712/0.1411, allocations: 0.5941 MB / 0.6201 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004541/0.1416, allocations: 179.8 kB / 0.6203 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.448e-06/0.1416, allocations: 0 / 0.6203 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.968e-06/0.1416, allocations: 0 / 0.6203 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-06/0.1416, allocations: 0 / 0.6203 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.142, allocations: 55.83 kB / 0.6203 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.038e-05/0.142, allocations: 0 / 0.6203 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 2.978e-05/0.142, allocations: 4 kB / 0.6203 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.651e-05/0.142, allocations: 3.984 kB / 0.6203 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.874e-05/0.1421, allocations: 11.94 kB / 0.6204 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.391e-06/0.1421, allocations: 0 / 0.6204 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1422, allocations: 51.94 kB / 0.6204 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.1422, allocations: 0 / 0.6204 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.425e-05/0.1422, allocations: 4 kB / 0.6204 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.1424, allocations: 39.81 kB / 0.6204 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1424, allocations: 0 / 0.6204 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1424, allocations: 0 / 0.6204 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.1424, allocations: 0 / 0.6204 GB, free: 0.625 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.0002799/0.1426, allocations: 250.4 kB / 0.6207 GB, free: 356 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1427, allocations: 11.97 kB / 0.6207 GB, free: 344 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.1427, allocations: 0.9375 kB / 0.6207 GB, free: 344 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.973e-05/0.1428, allocations: 102.5 kB / 0.6208 GB, free: 216 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1428, allocations: 4.375 kB / 0.6208 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-06/0.1428, allocations: 384 / 0.6208 GB, free: 212 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.1429, allocations: 26.27 kB / 0.6208 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1429, allocations: 192 / 0.6208 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1429, allocations: 3.938 kB / 0.6208 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.1429, allocations: 0 / 0.6208 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.552e-05/0.1429, allocations: 8 kB / 0.6208 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.1431, allocations: 117.2 kB / 0.6209 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.093e-05/0.1431, allocations: 18.61 kB / 0.621 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.1431, allocations: 4.859 kB / 0.621 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005798/0.1437, allocations: 75.98 kB / 0.621 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1437, allocations: 42.55 kB / 0.6211 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1437, allocations: 0 / 0.6211 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.1438, allocations: 41.53 kB / 0.6211 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1439, allocations: 51.41 kB / 0.6212 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.133e-05/0.1439, allocations: 89.86 kB / 0.6213 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.144, allocations: 29.7 kB / 0.6213 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.144, allocations: 80.14 kB / 0.6214 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.144, allocations: 4 kB / 0.6214 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.144, allocations: 9.719 kB / 0.6214 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1442, allocations: 314.8 kB / 0.6217 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.1442, allocations: 8.125 kB / 0.6217 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.66e-06/0.1442, allocations: 0 / 0.6217 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.1442, allocations: 8.859 kB / 0.6217 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1442, allocations: 0 / 0.6217 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.645e-05/0.1443, allocations: 37.64 kB / 0.6217 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1443, allocations: 4 kB / 0.6217 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.1443, allocations: 0 / 0.6217 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1443, allocations: 0 / 0.6217 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.525e-05/0.1443, allocations: 7.938 kB / 0.6217 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.1443, allocations: 96 / 0.6217 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.1444, allocations: 7.984 kB / 0.6217 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.1444, allocations: 0 / 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 7.584e-05/0.1444, allocations: 113.8 kB / 0.6219 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.1444, allocations: 0 / 0.6219 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.845e-05/0.1445, allocations: 36.7 kB / 0.6219 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1445, allocations: 3.938 kB / 0.6219 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1445, allocations: 3.938 kB / 0.6219 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1445, allocations: 0 / 0.6219 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.511e-05/0.1446, allocations: 101.3 kB / 0.622 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1446, allocations: 32 / 0.622 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.1446, allocations: 4 kB / 0.622 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1446, allocations: 0 / 0.622 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.1446, allocations: 0 / 0.622 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1446, allocations: 0 / 0.622 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1446, allocations: 7.938 kB / 0.622 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.408e-05/0.1447, allocations: 57.12 kB / 0.6221 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.1447, allocations: 4 kB / 0.6221 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-06/0.1447, allocations: 0 / 0.6221 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-06/0.1447, allocations: 7.938 kB / 0.6221 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.1447, allocations: 3.938 kB / 0.6221 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.1447, allocations: 4.031 kB / 0.6221 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.1448, allocations: 75.28 kB / 0.6221 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1448, allocations: 0 / 0.6221 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002011/0.145, allocations: 15.94 kB / 0.6222 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.0001789/0.1451, allocations: 123.1 kB / 0.6223 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.069e-05/0.1452, allocations: 4 kB / 0.6223 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1452, allocations: 4 kB / 0.6223 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.981e-06/0.1452, allocations: 0 / 0.6223 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.1453, allocations: 4 kB / 0.6223 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001676/0.1455, allocations: 84.8 kB / 0.6224 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.1456, allocations: 55.36 kB / 0.6224 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.646e-06/0.1456, allocations: 0 / 0.6224 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.1456, allocations: 8.5 kB / 0.6224 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.1456, allocations: 0 / 0.6224 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.00252/0.1481, allocations: 408.8 kB / 0.6228 GB, free: 13.89 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 -s ida -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9784600619459525] Failed to read output from testmodel.py, exit status != 0: 0.15502339298836887 0.17047799700000002 0.025069161000000003 Calling exit ...