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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 107.4 kB / 16.41 MB, free: 6.5 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.001056/0.001056, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7963/0.7963, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 66.81 kB / 0.582 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002427/0.1357, allocations: 1.425 MB / 0.6617 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005318/0.1363, allocations: 264.3 kB / 0.662 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.1363, allocations: 0 / 0.662 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.1364, allocations: 0 / 0.662 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.743e-05/0.1364, allocations: 7.938 kB / 0.662 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.1368, allocations: 59.81 kB / 0.662 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.667e-05/0.1368, allocations: 19.92 kB / 0.6621 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.1369, allocations: 11.94 kB / 0.6621 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.87e-05/0.137, allocations: 7.984 kB / 0.6621 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.529e-05/0.137, allocations: 19.88 kB / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.137, allocations: 0 / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1372, allocations: 67.86 kB / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.1372, allocations: 4 kB / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.1372, allocations: 11.92 kB / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.1374, allocations: 47.92 kB / 0.6622 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1374, allocations: 4 kB / 0.6622 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1374, allocations: 0 / 0.6622 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1374, allocations: 0 / 0.6622 GB, free: 8.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004386/0.1379, allocations: 343.5 kB / 0.6626 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1379, allocations: 11.97 kB / 0.6626 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.1379, allocations: 4.844 kB / 0.6626 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1381, allocations: 172.4 kB / 0.6627 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1381, allocations: 384 / 0.6627 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1381, allocations: 384 / 0.6627 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.1383, allocations: 50.23 kB / 0.6628 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1383, allocations: 4.125 kB / 0.6628 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1383, allocations: 3.938 kB / 0.6628 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1383, allocations: 4 kB / 0.6628 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.1385, allocations: 31.97 kB / 0.6628 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.1388, allocations: 245 kB / 0.6631 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1389, allocations: 38.5 kB / 0.6631 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.873e-05/0.139, allocations: 24.91 kB / 0.6631 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006522/0.1396, allocations: 465.4 kB / 0.6636 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1397, allocations: 34.5 kB / 0.6636 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.1397, allocations: 4 kB / 0.6636 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003476/0.14, allocations: 85.55 kB / 0.6637 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.1401, allocations: 51.41 kB / 0.6637 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.865e-05/0.1402, allocations: 101.8 kB / 0.6638 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1402, allocations: 25.7 kB / 0.6639 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.1402, allocations: 84.14 kB / 0.6639 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.1403, allocations: 8.031 kB / 0.6639 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.1403, allocations: 13.72 kB / 0.664 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.1404, allocations: 318.8 kB / 0.6643 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.767e-05/0.1405, allocations: 15.98 kB / 0.6643 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.1406, allocations: 15.92 kB / 0.6643 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1407, allocations: 40.89 kB / 0.6643 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1407, allocations: 0 / 0.6643 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001915/0.1409, allocations: 69.59 kB / 0.6644 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.141, allocations: 4 kB / 0.6644 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.141, allocations: 0 / 0.6644 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.141, allocations: 0 / 0.6644 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/0.1411, allocations: 15.92 kB / 0.6644 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1411, allocations: 4 kB / 0.6644 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.847e-05/0.1411, allocations: 16.02 kB / 0.6644 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1411, allocations: 0 / 0.6644 GB, free: 5.719 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 (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.217e-05/0.1412, allocations: 117.7 kB / 0.6645 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.1412, allocations: 4 kB / 0.6646 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.1415, allocations: 72.72 kB / 0.6646 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1415, allocations: 0 / 0.6646 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1415, allocations: 4.031 kB / 0.6646 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1415, allocations: 4 kB / 0.6646 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.1416, allocations: 161.6 kB / 0.6648 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1417, allocations: 0 / 0.6648 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.1417, allocations: 4 kB / 0.6648 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1417, allocations: 3.984 kB / 0.6648 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.1417, allocations: 0 / 0.6648 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1417, allocations: 4 kB / 0.6648 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1417, allocations: 0 / 0.6648 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.142, allocations: 167.4 kB / 0.665 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.142, allocations: 85.02 kB / 0.665 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.142, allocations: 0 / 0.665 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.1421, allocations: 7.984 kB / 0.665 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.1421, allocations: 0 / 0.665 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.1422, allocations: 0 / 0.665 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.1422, allocations: 83.31 kB / 0.6651 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1422, allocations: 0 / 0.6651 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002345/0.1424, allocations: 16 kB / 0.6651 GB, free: 4.895 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 (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.0001915/0.1426, allocations: 123.2 kB / 0.6653 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000217/0.1429, allocations: 43.89 kB / 0.6653 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1429, allocations: 0 / 0.6653 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.143, allocations: 15.98 kB / 0.6653 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.1432, allocations: 7.938 kB / 0.6653 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.1435, allocations: 127.2 kB / 0.6654 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1437, allocations: 0.6768 MB / 0.6661 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.1438, allocations: 15.56 kB / 0.6661 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1438, allocations: 0 / 0.6661 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.002205/0.146, allocations: 0.7721 MB / 0.6669 GB, free: 3.051 MB / 0.4981 GB 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)