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.001685/0.001685, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8096/0.8096, allocations: 133.3 MB / 150.1 MB, free: 11.14 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.475/1.475, allocations: 222.9 MB / 404.7 MB, free: 6.062 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.001117/0.001117, allocations: 110.7 kB / 485.9 MB, free: 7.227 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 48.16 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1812, allocations: 80.44 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.003637/0.1849, allocations: 1.483 MB / 0.6436 GB, free: 3.934 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007547/0.1857, allocations: 269.4 kB / 0.6438 GB, free: 3.668 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.1858, allocations: 0 / 0.6438 GB, free: 3.668 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.908e-05/0.1859, allocations: 0 / 0.6438 GB, free: 3.668 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.138e-05/0.1859, allocations: 7.984 kB / 0.6439 GB, free: 3.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.1864, allocations: 43.91 kB / 0.6439 GB, free: 3.617 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.1864, allocations: 19.92 kB / 0.6439 GB, free: 3.598 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1866, allocations: 8 kB / 0.6439 GB, free: 3.59 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.1866, allocations: 11.92 kB / 0.6439 GB, free: 3.578 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.249e-05/0.1867, allocations: 11.98 kB / 0.6439 GB, free: 3.566 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.1867, allocations: 0 / 0.6439 GB, free: 3.566 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.1869, allocations: 67.88 kB / 0.644 GB, free: 3.5 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.1869, allocations: 7.938 kB / 0.644 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.1869, allocations: 11.98 kB / 0.644 GB, free: 3.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.1871, allocations: 51.86 kB / 0.6441 GB, free: 3.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1872, allocations: 0 / 0.6441 GB, free: 3.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1872, allocations: 0 / 0.6441 GB, free: 3.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1872, allocations: 7.875 kB / 0.6441 GB, free: 3.422 MB / 442.7 MB 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.0006181/0.1878, allocations: 347.7 kB / 0.6444 GB, free: 3.031 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1879, allocations: 8.031 kB / 0.6444 GB, free: 3.023 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.1879, allocations: 4.938 kB / 0.6444 GB, free: 3.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.1881, allocations: 172.3 kB / 0.6446 GB, free: 2.812 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.1881, allocations: 384 / 0.6446 GB, free: 2.812 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.1881, allocations: 384 / 0.6446 GB, free: 2.812 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.1883, allocations: 50.23 kB / 0.6446 GB, free: 2.758 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.1883, allocations: 192 / 0.6446 GB, free: 2.758 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1884, allocations: 3.938 kB / 0.6446 GB, free: 2.754 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1884, allocations: 4 kB / 0.6447 GB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.1886, allocations: 31.97 kB / 0.6447 GB, free: 2.719 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004143/0.189, allocations: 256.9 kB / 0.6449 GB, free: 2.418 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.1891, allocations: 38.5 kB / 0.645 GB, free: 2.371 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.036e-05/0.1892, allocations: 20.91 kB / 0.645 GB, free: 2.348 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008317/0.1901, allocations: 461.5 kB / 0.6454 GB, free: 1.805 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1901, allocations: 34.5 kB / 0.6455 GB, free: 1.762 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.1901, allocations: 0 / 0.6455 GB, free: 1.762 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.000371/0.1905, allocations: 89.58 kB / 0.6455 GB, free: 1.668 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.1905, allocations: 51.41 kB / 0.6456 GB, free: 1.605 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.854e-05/0.1906, allocations: 105.8 kB / 0.6457 GB, free: 1.492 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1907, allocations: 25.7 kB / 0.6457 GB, free: 1.461 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.1907, allocations: 84.14 kB / 0.6458 GB, free: 1.375 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.1907, allocations: 3.906 kB / 0.6458 GB, free: 1.371 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1908, allocations: 13.72 kB / 0.6458 GB, free: 1.352 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1909, allocations: 323 kB / 0.6461 GB, free: 1.027 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-05/0.191, allocations: 11.98 kB / 0.6461 GB, free: 1.016 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.57e-05/0.1911, allocations: 19.98 kB / 0.6462 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1913, allocations: 36.81 kB / 0.6462 GB, free: 0.957 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1913, allocations: 0 / 0.6462 GB, free: 0.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002063/0.1915, allocations: 73.61 kB / 0.6463 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.1915, allocations: 4 kB / 0.6463 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1915, allocations: 0 / 0.6463 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1916, allocations: 4 kB / 0.6463 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.1917, allocations: 7.984 kB / 0.6463 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.1917, allocations: 0 / 0.6463 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.1917, allocations: 7.984 kB / 0.6463 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1918, allocations: 0 / 0.6463 GB, free: 0.8555 MB / 442.7 MB 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 8.78e-05/0.1918, allocations: 123.1 kB / 0.6464 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.1919, allocations: 3.906 kB / 0.6464 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.1921, allocations: 68.72 kB / 0.6465 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1921, allocations: 4 kB / 0.6465 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1921, allocations: 3.938 kB / 0.6465 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1922, allocations: 0 / 0.6465 GB, free: 0.6445 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.1923, allocations: 165.6 kB / 0.6466 GB, free: 444 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1923, allocations: 4.031 kB / 0.6466 GB, free: 440 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.73e-05/0.1924, allocations: 11.98 kB / 0.6466 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1924, allocations: 0 / 0.6466 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.1924, allocations: 0 / 0.6466 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1924, allocations: 0 / 0.6466 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1924, allocations: 0 / 0.6466 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/0.1931, allocations: 0.7279 MB / 0.6474 GB, free: 15.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.1931, allocations: 84.98 kB / 0.6474 GB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.1931, allocations: 0 / 0.6474 GB, free: 15.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.1932, allocations: 11.98 kB / 0.6475 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.1933, allocations: 0 / 0.6475 GB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.1933, allocations: 3.938 kB / 0.6475 GB, free: 15.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.513e-05/0.1933, allocations: 87.31 kB / 0.6475 GB, free: 15.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1934, allocations: 0 / 0.6475 GB, free: 15.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.1937, allocations: 19.91 kB / 0.6476 GB, free: 15.41 MB / 458.7 MB 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.0002528/0.194, allocations: 116.4 kB / 0.6477 GB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.1942, allocations: 43.89 kB / 0.6477 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1942, allocations: 0 / 0.6477 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.97e-05/0.1943, allocations: 19.98 kB / 0.6477 GB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.1946, allocations: 0 / 0.6477 GB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004204/0.195, allocations: 210.3 kB / 0.6479 GB, free: 14.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1953, allocations: 0.6811 MB / 0.6486 GB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.94e-05/0.1954, allocations: 0 / 0.6486 GB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.306e-05/0.1954, allocations: 7.438 kB / 0.6486 GB, free: 14.27 MB / 458.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1954, allocations: 0 / 0.6486 GB, free: 14.27 MB / 458.7 MB Notification: Performance of Templates: time 0.00332/0.1987, allocations: 0.6043 MB / 0.6492 GB, free: 13.66 MB / 458.7 MB 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)