Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 182 kB / 7.46 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5991/0.5991, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.152/1.152, allocations: 221.3 MB / 395 MB, free: 10.18 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.0008375/0.0008375, allocations: 94.78 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.644e-06, allocations: 3.031 kB / 0.5529 GB, free: 89.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 82.3 MB / 0.6332 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3542/0.4692, allocations: 110.7 MB / 0.7413 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001659/0.4694, allocations: 72.95 kB / 0.7414 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003917/0.4733, allocations: 1.26 MB / 0.7426 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.4733, allocations: 0 / 0.7426 GB, free: 10.93 MB / 0.4948 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.0003464/0.4737, allocations: 354.1 kB / 0.743 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.4737, allocations: 12.52 kB / 0.743 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.4738, allocations: 3.906 kB / 0.743 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.4739, allocations: 168 kB / 0.7431 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.4739, allocations: 3.984 kB / 0.7431 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.4739, allocations: 0 / 0.7431 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.729e-05/0.474, allocations: 15.3 kB / 0.7432 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.991e-05/0.4741, allocations: 31.31 kB / 0.7432 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4741, allocations: 0.75 kB / 0.7432 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.4741, allocations: 0 / 0.7432 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4741, allocations: 0 / 0.7432 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.4745, allocations: 256.5 kB / 0.7434 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.726e-05/0.4745, allocations: 22.39 kB / 0.7435 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.4745, allocations: 13.36 kB / 0.7435 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005695/0.4751, allocations: 443.2 kB / 0.7439 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.4752, allocations: 31.12 kB / 0.7439 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4752, allocations: 4 kB / 0.7439 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001411/0.4753, allocations: 38.73 kB / 0.744 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.4753, allocations: 59.28 kB / 0.744 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.944e-05/0.4754, allocations: 90.14 kB / 0.7441 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.4754, allocations: 29.52 kB / 0.7441 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.4754, allocations: 84.14 kB / 0.7442 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.4755, allocations: 4.656 kB / 0.7442 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-06/0.4755, allocations: 0 / 0.7442 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.4756, allocations: 320.1 kB / 0.7445 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.297e-05/0.4756, allocations: 7.469 kB / 0.7445 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.4756, allocations: 3.875 kB / 0.7445 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.713e-05/0.4756, allocations: 8.172 kB / 0.7445 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4756, allocations: 0.5625 kB / 0.7445 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.231e-05/0.4757, allocations: 38.86 kB / 0.7446 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.4757, allocations: 6.531 kB / 0.7446 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.4757, allocations: 3.875 kB / 0.7446 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4758, allocations: 0.9375 kB / 0.7446 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/0.4758, allocations: 16.17 kB / 0.7446 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.4759, allocations: 3.938 kB / 0.7446 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.981e-05/0.4759, allocations: 14.73 kB / 0.7446 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.4759, allocations: 0 / 0.7446 GB, free: 24.87 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.476, allocations: 108.9 kB / 0.7447 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.476, allocations: 5.047 kB / 0.7447 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.4761, allocations: 43.52 kB / 0.7448 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4761, allocations: 0 / 0.7448 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4761, allocations: 0.7031 kB / 0.7448 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4761, allocations: 3.906 kB / 0.7448 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.4763, allocations: 135 kB / 0.7449 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.4763, allocations: 0 / 0.7449 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.4763, allocations: 20.02 kB / 0.7449 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4763, allocations: 0 / 0.7449 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.4764, allocations: 0 / 0.7449 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4764, allocations: 0.75 kB / 0.7449 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4764, allocations: 0 / 0.7449 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001123/0.4765, allocations: 143.7 kB / 0.7451 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.4765, allocations: 81.7 kB / 0.7451 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.4765, allocations: 4.734 kB / 0.7451 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.4766, allocations: 9.859 kB / 0.7451 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.4767, allocations: 8.953 kB / 0.7452 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.4767, allocations: 1.625 kB / 0.7452 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.247e-05/0.4767, allocations: 84 kB / 0.7452 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002315/0.477, allocations: 31.58 kB / 0.7453 GB, free: 24.22 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002174/0.4772, allocations: 133.7 kB / 0.7454 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.384e-05/0.4772, allocations: 15.05 kB / 0.7454 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4773, allocations: 0 / 0.7454 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/0.4773, allocations: 11.22 kB / 0.7454 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.4774, allocations: 0.6094 kB / 0.7454 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001565/0.4776, allocations: 58.84 kB / 0.7455 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.4778, allocations: 0.6887 MB / 0.7462 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4778, allocations: 4 kB / 0.7462 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.002167/0.48, allocations: 0.6055 MB / 0.7467 GB, free: 23.29 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)