Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0") [: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.00239/0.00239, allocations: 186.9 kB / 7.46 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6084/0.6084, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.133/1.133, allocations: 221.3 MB / 395 MB, free: 10.24 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.0008302/0.00083, allocations: 94.48 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.933e-06, allocations: 2.969 kB / 0.5528 GB, free: 89.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 82.31 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3215/0.428, allocations: 110.7 MB / 0.7413 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001643/0.4282, allocations: 74.05 kB / 0.7414 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003685/0.4318, allocations: 1.226 MB / 0.7426 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.4319, allocations: 0 / 0.7426 GB, free: 10.76 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.0003183/0.4322, allocations: 354.2 kB / 0.7429 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.559e-05/0.4322, allocations: 7.75 kB / 0.7429 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.312e-05/0.4323, allocations: 7.719 kB / 0.7429 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.445e-05/0.4324, allocations: 163.8 kB / 0.7431 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.4324, allocations: 0 / 0.7431 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.4324, allocations: 7.812 kB / 0.7431 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.977e-05/0.4324, allocations: 11.72 kB / 0.7431 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.388e-05/0.4325, allocations: 40.56 kB / 0.7431 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.4325, allocations: 1.438 kB / 0.7431 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.4325, allocations: 0 / 0.7431 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.4325, allocations: 7.859 kB / 0.7431 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.4328, allocations: 244 kB / 0.7434 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.711e-05/0.4329, allocations: 25.36 kB / 0.7434 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.4329, allocations: 12.3 kB / 0.7434 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004798/0.4334, allocations: 441.7 kB / 0.7438 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.4334, allocations: 31.36 kB / 0.7438 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4334, allocations: 0 / 0.7438 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001424/0.4336, allocations: 38.98 kB / 0.7439 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.4336, allocations: 51.41 kB / 0.7439 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.113e-05/0.4337, allocations: 94.33 kB / 0.744 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.4337, allocations: 26.27 kB / 0.744 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.4337, allocations: 91.98 kB / 0.7441 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.4337, allocations: 5.312 kB / 0.7441 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.4337, allocations: 3.938 kB / 0.7441 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.4338, allocations: 319.8 kB / 0.7445 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.4338, allocations: 3.781 kB / 0.7445 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.4339, allocations: 11.66 kB / 0.7445 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.545e-05/0.4339, allocations: 3.938 kB / 0.7445 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4339, allocations: 3.844 kB / 0.7445 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.927e-05/0.434, allocations: 42.05 kB / 0.7445 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.434, allocations: 3.812 kB / 0.7445 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.434, allocations: 1.781 kB / 0.7445 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.434, allocations: 3.875 kB / 0.7445 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.742e-05/0.4341, allocations: 9.047 kB / 0.7445 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.4341, allocations: 1.406 kB / 0.7445 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.4342, allocations: 13.19 kB / 0.7445 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.4342, allocations: 0 / 0.7445 GB, free: 24.69 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.197e-05/0.4342, allocations: 106.3 kB / 0.7446 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.4343, allocations: 5.594 kB / 0.7447 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.273e-05/0.4344, allocations: 51.73 kB / 0.7447 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.4344, allocations: 0 / 0.7447 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4344, allocations: 0 / 0.7447 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4344, allocations: 4.828 kB / 0.7447 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.809e-05/0.4345, allocations: 135.7 kB / 0.7448 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.4345, allocations: 0 / 0.7448 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.425e-05/0.4346, allocations: 18.42 kB / 0.7449 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4346, allocations: 0.6875 kB / 0.7449 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.4346, allocations: 0 / 0.7449 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.4346, allocations: 0 / 0.7449 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4346, allocations: 0 / 0.7449 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.514e-05/0.4347, allocations: 141.3 kB / 0.745 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.4347, allocations: 79.34 kB / 0.7451 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.4347, allocations: 0 / 0.7451 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.4348, allocations: 14.39 kB / 0.7451 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.4349, allocations: 1.594 kB / 0.7451 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.4349, allocations: 7.906 kB / 0.7451 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.862e-05/0.4349, allocations: 81.84 kB / 0.7452 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002108/0.4351, allocations: 24.45 kB / 0.7452 GB, free: 24.05 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.0002003/0.4353, allocations: 129.4 kB / 0.7453 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.71e-05/0.4354, allocations: 16.47 kB / 0.7453 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.4354, allocations: 0 / 0.7453 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/0.4354, allocations: 10.47 kB / 0.7453 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.4356, allocations: 0 / 0.7453 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001479/0.4357, allocations: 63.22 kB / 0.7454 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.4359, allocations: 0.7004 MB / 0.7461 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.4359, allocations: 0 / 0.7461 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.001941/0.4379, allocations: 0.6004 MB / 0.7467 GB, free: 23.12 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)