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.006322/0.006322, allocations: 173.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7979/0.7979, allocations: 135.2 MB / 151.1 MB, free: 13.85 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.487/1.487, allocations: 223.2 MB / 406.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009421/0.0009419, allocations: 100.8 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003486, allocations: 8 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4287, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.584, allocations: 111.5 MB / 0.7584 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5844, allocations: 71.95 kB / 0.7584 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00509/0.5895, allocations: 1.582 MB / 0.76 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5895, allocations: 4 kB / 0.76 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.5895, allocations: 0 / 0.76 GB, free: 2.848 MB / 0.5261 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.000431/0.59, allocations: 355.2 kB / 0.7603 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.59, allocations: 12.03 kB / 0.7603 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.5901, allocations: 0 / 0.7603 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.5902, allocations: 174.9 kB / 0.7605 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.5902, allocations: 4 kB / 0.7605 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.5903, allocations: 4 kB / 0.7605 GB, free: 2.223 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.5905, allocations: 53.67 kB / 0.7606 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.5905, allocations: 0 / 0.7606 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.5905, allocations: 0 / 0.7606 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.5905, allocations: 0 / 0.7606 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001743/0.5907, allocations: 43.97 kB / 0.7606 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.5912, allocations: 268.9 kB / 0.7609 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.5913, allocations: 46.56 kB / 0.7609 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/0.5919, allocations: 449.4 kB / 0.7613 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.592, allocations: 38.56 kB / 0.7614 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.592, allocations: 3.938 kB / 0.7614 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003673/0.5923, allocations: 101.6 kB / 0.7615 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.5924, allocations: 55.41 kB / 0.7615 GB, free: 1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.889e-05/0.5925, allocations: 93 kB / 0.7616 GB, free: 0.9023 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.5925, allocations: 25.7 kB / 0.7616 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.5926, allocations: 84.14 kB / 0.7617 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.5926, allocations: 3.906 kB / 0.7617 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.5926, allocations: 0 / 0.7617 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5927, allocations: 322.8 kB / 0.762 GB, free: 468 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.5928, allocations: 23.98 kB / 0.762 GB, free: 444 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.5929, allocations: 19.98 kB / 0.7621 GB, free: 424 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.443e-05/0.593, allocations: 19.98 kB / 0.7621 GB, free: 404 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.593, allocations: 4.062 kB / 0.7621 GB, free: 400 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/0.5932, allocations: 73.66 kB / 0.7622 GB, free: 320 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5932, allocations: 4 kB / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5932, allocations: 0 / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.5933, allocations: 0 / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.5934, allocations: 27.95 kB / 0.7622 GB, free: 288 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.5934, allocations: 0 / 0.7622 GB, free: 288 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.5934, allocations: 7.984 kB / 0.7622 GB, free: 280 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.5935, allocations: 0 / 0.7622 GB, free: 280 kB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/0.5935, allocations: 113.8 kB / 0.7623 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.5936, allocations: 0 / 0.7623 GB, free: 156 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.5938, allocations: 84.78 kB / 0.7624 GB, free: 64 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.5938, allocations: 192 / 0.7624 GB, free: 64 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5938, allocations: 0 / 0.7624 GB, free: 64 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5938, allocations: 3.984 kB / 0.7624 GB, free: 60 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.594, allocations: 161.6 kB / 0.7625 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5941, allocations: 4 kB / 0.7626 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.5941, allocations: 20.02 kB / 0.7626 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5941, allocations: 3.938 kB / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.5941, allocations: 0 / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5942, allocations: 0 / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5942, allocations: 0 / 0.7626 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.5944, allocations: 183.3 kB / 0.7627 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.5945, allocations: 81.11 kB / 0.7628 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.5945, allocations: 0 / 0.7628 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.5946, allocations: 7.984 kB / 0.7628 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.5946, allocations: 4 kB / 0.7628 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.5946, allocations: 0 / 0.7628 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.685e-05/0.5947, allocations: 83.31 kB / 0.7629 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5947, allocations: 0 / 0.7629 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002447/0.5949, allocations: 39.86 kB / 0.763 GB, free: 15.4 MB / 0.5417 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 (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.0002454/0.5952, allocations: 131.2 kB / 0.7631 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.5954, allocations: 43.91 kB / 0.7631 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5954, allocations: 0 / 0.7631 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.761e-05/0.5955, allocations: 36.03 kB / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.5957, allocations: 0 / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.596, allocations: 110.8 kB / 0.7633 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.5963, allocations: 0.677 MB / 0.7639 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.614e-05/0.5963, allocations: 3.984 kB / 0.7639 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.5963, allocations: 7.5 kB / 0.7639 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of SimCode: time 1.943e-06/0.5963, allocations: 4 kB / 0.7639 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of Templates: time 0.002565/0.5989, allocations: 0.5572 MB / 0.7645 GB, free: 13.78 MB / 0.5417 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)