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.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 110.5 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7777/0.7777, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 72.98 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1399, allocations: 80.22 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001698/0.1417, allocations: 0.5703 MB / 0.6609 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005206/0.1422, allocations: 190.3 kB / 0.6611 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.341e-05/0.1422, allocations: 0 / 0.6611 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.1423, allocations: 0 / 0.6611 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.799e-06/0.1423, allocations: 3.938 kB / 0.6611 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004222/0.1427, allocations: 51.89 kB / 0.6612 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.1428, allocations: 3.984 kB / 0.6612 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.1428, allocations: 0 / 0.6612 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.602e-05/0.1428, allocations: 0 / 0.6612 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.206e-05/0.1429, allocations: 8 kB / 0.6612 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.645e-06/0.1429, allocations: 3.938 kB / 0.6612 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.1431, allocations: 55.94 kB / 0.6612 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.1431, allocations: 0 / 0.6612 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.963e-05/0.1431, allocations: 0 / 0.6612 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1433, allocations: 35.88 kB / 0.6613 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1433, allocations: 0 / 0.6613 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1433, allocations: 0 / 0.6613 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.1433, allocations: 4 kB / 0.6613 GB, free: 9.297 MB / 0.4981 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.0003104/0.1436, allocations: 315.6 kB / 0.6616 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1436, allocations: 15.97 kB / 0.6616 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.1437, allocations: 0.9375 kB / 0.6616 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.647e-05/0.1438, allocations: 168.4 kB / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1438, allocations: 384 / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.1438, allocations: 384 / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.845e-05/0.1439, allocations: 26.27 kB / 0.6618 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1439, allocations: 192 / 0.6618 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1439, allocations: 3.938 kB / 0.6618 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1439, allocations: 7.984 kB / 0.6618 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.144, allocations: 0 / 0.6618 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001436/0.1441, allocations: 149.7 kB / 0.6619 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.091e-05/0.1442, allocations: 26.53 kB / 0.662 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.1442, allocations: 4.859 kB / 0.662 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007071/0.1449, allocations: 457.5 kB / 0.6624 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1449, allocations: 38.56 kB / 0.6624 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1449, allocations: 0 / 0.6624 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001316/0.1451, allocations: 37.62 kB / 0.6625 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.1451, allocations: 55.34 kB / 0.6625 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.375e-05/0.1452, allocations: 89.86 kB / 0.6626 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1452, allocations: 25.7 kB / 0.6626 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.301e-05/0.1452, allocations: 80.27 kB / 0.6627 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1452, allocations: 8 kB / 0.6627 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.1453, allocations: 9.719 kB / 0.6627 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1454, allocations: 314.8 kB / 0.663 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.1454, allocations: 0 / 0.663 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.177e-06/0.1454, allocations: 8 kB / 0.663 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.1454, allocations: 8.844 kB / 0.663 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1454, allocations: 3.938 kB / 0.663 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.418e-05/0.1455, allocations: 37.77 kB / 0.6631 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1455, allocations: 7.938 kB / 0.6631 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1455, allocations: 0 / 0.6631 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1455, allocations: 3.938 kB / 0.6631 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.213e-05/0.1456, allocations: 4 kB / 0.6631 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1456, allocations: 0 / 0.6631 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.1456, allocations: 0 / 0.6631 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.1456, allocations: 0 / 0.6631 GB, free: 7.109 MB / 0.4981 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.435e-05/0.1457, allocations: 109.8 kB / 0.6632 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.1457, allocations: 8.016 kB / 0.6632 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.1458, allocations: 44.67 kB / 0.6633 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1458, allocations: 0 / 0.6633 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1459, allocations: 0 / 0.6633 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1459, allocations: 0 / 0.6633 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.12e-05/0.146, allocations: 145.7 kB / 0.6634 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.146, allocations: 0 / 0.6634 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.146, allocations: 4 kB / 0.6634 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.146, allocations: 3.938 kB / 0.6634 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.12e-05/0.1461, allocations: 3.938 kB / 0.6634 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1461, allocations: 4.031 kB / 0.6634 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1461, allocations: 0 / 0.6634 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.656e-05/0.1462, allocations: 61.12 kB / 0.6635 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.141e-05/0.1462, allocations: 77.11 kB / 0.6635 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.1462, allocations: 3.938 kB / 0.6635 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/0.1462, allocations: 0 / 0.6635 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.1462, allocations: 0 / 0.6635 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.1462, allocations: 32 / 0.6635 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.268e-05/0.1463, allocations: 83.22 kB / 0.6636 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1463, allocations: 0 / 0.6636 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001971/0.1465, allocations: 16 kB / 0.6636 GB, free: 6.449 MB / 0.4981 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.000208/0.1467, allocations: 123.2 kB / 0.6638 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.331e-05/0.1468, allocations: 11.94 kB / 0.6638 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1468, allocations: 0 / 0.6638 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.105e-05/0.1469, allocations: 4 kB / 0.6638 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.147, allocations: 5.656 kB / 0.6638 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.1472, allocations: 110.6 kB / 0.6639 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1474, allocations: 0.669 MB / 0.6645 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.1474, allocations: 7.438 kB / 0.6645 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1474, allocations: 0 / 0.6645 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of Templates: time 0.001986/0.1494, allocations: 0.5622 MB / 0.6651 GB, free: 4.891 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile (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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)