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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7011/0.7011, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.49/1.49, allocations: 221.3 MB / 400.4 MB, free: 5.887 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.0008833/0.0008836, allocations: 91.28 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.87e-05, allocations: 6.297 kB / 0.56 GB, free: 87.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1908, allocations: 82.3 MB / 0.6404 GB, free: 7.832 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6582/0.8491, allocations: 111.4 MB / 0.7492 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.8494, allocations: 71.75 kB / 0.7493 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00459/0.854, allocations: 1.57 MB / 0.7508 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.853e-06/0.854, allocations: 3.938 kB / 0.7508 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.854, allocations: 0 / 0.7508 GB, free: 27.49 MB / 0.5105 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.0003483/0.8543, allocations: 347 kB / 0.7512 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.8544, allocations: 15.53 kB / 0.7512 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.8544, allocations: 3.906 kB / 0.7512 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.8546, allocations: 167 kB / 0.7514 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.8546, allocations: 7.812 kB / 0.7514 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.8546, allocations: 3.625 kB / 0.7514 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.752e-05/0.8547, allocations: 36.66 kB / 0.7514 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.8547, allocations: 0 / 0.7514 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.8547, allocations: 7.594 kB / 0.7514 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.8547, allocations: 0 / 0.7514 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.8548, allocations: 10.41 kB / 0.7514 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.8552, allocations: 268.2 kB / 0.7517 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.8552, allocations: 25.64 kB / 0.7517 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.8553, allocations: 12.27 kB / 0.7517 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005615/0.8558, allocations: 444.9 kB / 0.7521 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.8559, allocations: 40.56 kB / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.8559, allocations: 3.938 kB / 0.7522 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001447/0.856, allocations: 41.05 kB / 0.7522 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.8561, allocations: 55.44 kB / 0.7523 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/0.8562, allocations: 91.97 kB / 0.7524 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.8562, allocations: 33.36 kB / 0.7524 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.8562, allocations: 80.14 kB / 0.7525 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.8562, allocations: 7.734 kB / 0.7525 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.8563, allocations: 0 / 0.7525 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.8564, allocations: 318.3 kB / 0.7528 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.8564, allocations: 3.875 kB / 0.7528 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.337e-05/0.8564, allocations: 11.28 kB / 0.7528 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.807e-05/0.8565, allocations: 6.422 kB / 0.7528 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.8565, allocations: 0 / 0.7528 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.374e-05/0.8565, allocations: 48.64 kB / 0.7528 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.8566, allocations: 3.844 kB / 0.7528 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.8566, allocations: 0 / 0.7528 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.8566, allocations: 3.328 kB / 0.7529 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.8567, allocations: 10.56 kB / 0.7529 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.8567, allocations: 7.938 kB / 0.7529 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.543e-05/0.8567, allocations: 7.078 kB / 0.7529 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.8568, allocations: 0 / 0.7529 GB, free: 25.39 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 6.182e-05/0.8568, allocations: 112.3 kB / 0.753 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.8569, allocations: 3.281 kB / 0.753 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.857, allocations: 47.56 kB / 0.753 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.857, allocations: 0 / 0.753 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.857, allocations: 3.844 kB / 0.753 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.857, allocations: 4.031 kB / 0.753 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.8571, allocations: 160 kB / 0.7532 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8571, allocations: 0 / 0.7532 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.636e-05/0.8572, allocations: 11.23 kB / 0.7532 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8572, allocations: 3.938 kB / 0.7532 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.8572, allocations: 0 / 0.7532 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.8572, allocations: 0 / 0.7532 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8572, allocations: 3.969 kB / 0.7532 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.8573, allocations: 138.3 kB / 0.7533 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.8574, allocations: 88.23 kB / 0.7534 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.8574, allocations: 3.938 kB / 0.7534 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.767e-05/0.8575, allocations: 9.062 kB / 0.7534 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.8575, allocations: 7.781 kB / 0.7534 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.8575, allocations: 0 / 0.7534 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.553e-05/0.8576, allocations: 86.7 kB / 0.7535 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8576, allocations: 4.031 kB / 0.7535 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002245/0.8578, allocations: 29.02 kB / 0.7536 GB, free: 24.71 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.00023/0.8581, allocations: 130.6 kB / 0.7537 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.969e-05/0.8581, allocations: 15.06 kB / 0.7537 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.8581, allocations: 0 / 0.7537 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.879e-05/0.8582, allocations: 3.812 kB / 0.7537 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.8583, allocations: 11.64 kB / 0.7537 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001696/0.8585, allocations: 60 kB / 0.7538 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.8588, allocations: 0.6763 MB / 0.7544 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.817e-05/0.8588, allocations: 6.938 kB / 0.7544 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.678e-05/0.8588, allocations: 11.56 kB / 0.7544 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.8588, allocations: 0 / 0.7544 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.002357/0.8612, allocations: 0.5556 MB / 0.755 GB, free: 23.79 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)