Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7147/0.7147, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 222.9 MB / 403.4 MB, free: 7.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009344/0.0009344, allocations: 107.1 kB / 484.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009581/0.0009581, allocations: 59.91 kB / 0.5618 GB, free: 71.03 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1387, allocations: 80.2 MB / 0.6402 GB, free: 6.758 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002927/0.1417, allocations: 1.48 MB / 0.6416 GB, free: 5.258 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006915/0.1424, allocations: 273 kB / 0.6419 GB, free: 4.988 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.898e-05/0.1425, allocations: 0 / 0.6419 GB, free: 4.988 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.1425, allocations: 3.938 kB / 0.6419 GB, free: 4.984 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.097e-05/0.1426, allocations: 4 kB / 0.6419 GB, free: 4.98 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.143, allocations: 47.88 kB / 0.6419 GB, free: 4.934 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.905e-05/0.143, allocations: 19.94 kB / 0.6419 GB, free: 4.914 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1431, allocations: 11.98 kB / 0.642 GB, free: 4.902 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.1432, allocations: 11.94 kB / 0.642 GB, free: 4.891 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.1432, allocations: 3.984 kB / 0.642 GB, free: 4.887 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1433, allocations: 4 kB / 0.642 GB, free: 4.883 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.1434, allocations: 63.88 kB / 0.642 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.1435, allocations: 15.92 kB / 0.6421 GB, free: 4.805 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.1435, allocations: 0 / 0.6421 GB, free: 4.805 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1437, allocations: 59.84 kB / 0.6421 GB, free: 4.746 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1437, allocations: 0 / 0.6421 GB, free: 4.746 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1437, allocations: 0 / 0.6421 GB, free: 4.746 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1437, allocations: 8 kB / 0.6421 GB, free: 4.738 MB / 442.7 MB 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.0005787/0.1443, allocations: 347.7 kB / 0.6424 GB, free: 4.348 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.1443, allocations: 8.031 kB / 0.6425 GB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.1444, allocations: 4.938 kB / 0.6425 GB, free: 4.336 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1446, allocations: 172.2 kB / 0.6426 GB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1446, allocations: 384 / 0.6426 GB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1446, allocations: 384 / 0.6426 GB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1448, allocations: 54.23 kB / 0.6427 GB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1448, allocations: 192 / 0.6427 GB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1448, allocations: 3.938 kB / 0.6427 GB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1448, allocations: 0 / 0.6427 GB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.145, allocations: 35.95 kB / 0.6427 GB, free: 4.031 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1454, allocations: 241 kB / 0.6429 GB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.1455, allocations: 50.42 kB / 0.643 GB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1457, allocations: 24.89 kB / 0.643 GB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006976/0.1464, allocations: 461.4 kB / 0.6435 GB, free: 3.117 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.1464, allocations: 38.5 kB / 0.6435 GB, free: 3.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1464, allocations: 0 / 0.6435 GB, free: 3.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003531/0.1468, allocations: 85.58 kB / 0.6436 GB, free: 2.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.1468, allocations: 51.41 kB / 0.6436 GB, free: 2.918 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.492e-05/0.1469, allocations: 97.86 kB / 0.6437 GB, free: 2.812 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1469, allocations: 29.83 kB / 0.6437 GB, free: 2.777 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.147, allocations: 88.12 kB / 0.6438 GB, free: 2.688 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.147, allocations: 3.906 kB / 0.6438 GB, free: 2.684 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.147, allocations: 13.72 kB / 0.6438 GB, free: 2.664 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1471, allocations: 314.8 kB / 0.6441 GB, free: 2.348 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.1472, allocations: 15.98 kB / 0.6442 GB, free: 2.332 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.1473, allocations: 15.97 kB / 0.6442 GB, free: 2.316 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.1475, allocations: 40.89 kB / 0.6442 GB, free: 2.273 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1475, allocations: 0 / 0.6442 GB, free: 2.273 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.1477, allocations: 73.53 kB / 0.6443 GB, free: 2.195 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1477, allocations: 4.625 kB / 0.6443 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1477, allocations: 0 / 0.6443 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1477, allocations: 0 / 0.6443 GB, free: 2.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.339e-05/0.1478, allocations: 20.02 kB / 0.6443 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.1478, allocations: 0 / 0.6443 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.319e-05/0.1479, allocations: 4 kB / 0.6443 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.1479, allocations: 0 / 0.6443 GB, free: 2.168 MB / 442.7 MB 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 7.314e-05/0.1479, allocations: 115.1 kB / 0.6444 GB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.148, allocations: 7.906 kB / 0.6444 GB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.1482, allocations: 76.72 kB / 0.6445 GB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1482, allocations: 0 / 0.6445 GB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1482, allocations: 0 / 0.6445 GB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1482, allocations: 4 kB / 0.6445 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1484, allocations: 157.6 kB / 0.6447 GB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1484, allocations: 0 / 0.6447 GB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.1484, allocations: 7.984 kB / 0.6447 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1484, allocations: 0 / 0.6447 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1485, allocations: 8 kB / 0.6447 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1485, allocations: 0 / 0.6447 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1485, allocations: 4.031 kB / 0.6447 GB, free: 1.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000504/0.149, allocations: 0.7161 MB / 0.6454 GB, free: 0.957 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.149, allocations: 84.98 kB / 0.6455 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.149, allocations: 8.031 kB / 0.6455 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.1491, allocations: 11.98 kB / 0.6455 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.1492, allocations: 0 / 0.6455 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1492, allocations: 3.938 kB / 0.6455 GB, free: 0.832 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.177e-05/0.1492, allocations: 87.2 kB / 0.6456 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1492, allocations: 0 / 0.6456 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003637/0.1496, allocations: 15.91 kB / 0.6456 GB, free: 0.7305 MB / 442.7 MB 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.0002009/0.1498, allocations: 119.2 kB / 0.6457 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.15, allocations: 39.91 kB / 0.6457 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.15, allocations: 0 / 0.6457 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-05/0.1501, allocations: 15.98 kB / 0.6457 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.1503, allocations: 14.86 kB / 0.6458 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.1506, allocations: 206.3 kB / 0.646 GB, free: 308 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.1509, allocations: 0.677 MB / 0.6466 GB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.005e-05/0.1509, allocations: 0 / 0.6466 GB, free: 15.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.1509, allocations: 11.44 kB / 0.6466 GB, free: 15.59 MB / 458.7 MB Notification: Performance of SimCode: time 2.31e-07/0.151, allocations: 0 / 0.6466 GB, free: 15.59 MB / 458.7 MB Notification: Performance of Templates: time 0.002474/0.1534, allocations: 0.6059 MB / 0.6472 GB, free: 14.99 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)