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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008876/0.0008876, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009155/0.0009155, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9456/0.9456, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8016/0.8016, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.67e-05, allocations: 2.312 kB / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.0021/0.002116, allocations: 1.477 MB / 481.8 MB, free: 5.051 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004909/0.002607, allocations: 264.6 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.002636, allocations: 0 / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.002664, allocations: 7.922 kB / 482.1 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.584e-05/0.00271, allocations: 1.953 kB / 482.1 MB, free: 4.793 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.003064, allocations: 61.52 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.575e-05/0.00313, allocations: 20.44 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.012e-05/0.0032, allocations: 7.984 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.003253, allocations: 14.31 kB / 482.2 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.433e-05/0.003287, allocations: 4.984 kB / 482.2 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.0033, allocations: 4 kB / 482.2 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.00343, allocations: 66.02 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.003445, allocations: 0 / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.847e-05/0.003464, allocations: 14.92 kB / 482.3 MB, free: 4.617 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.00359, allocations: 53.72 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-06/0.003592, allocations: 0 / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003593, allocations: 1.156 kB / 482.4 MB, free: 4.566 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.003596, allocations: 3.984 kB / 482.4 MB, free: 4.562 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.0003028/0.003899, allocations: 238.3 kB / 482.6 MB, free: 4.309 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.003933, allocations: 8.031 kB / 482.6 MB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.003958, allocations: 4.938 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.958e-05/0.004037, allocations: 110 kB / 482.7 MB, free: 4.164 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.004051, allocations: 9.438 kB / 482.7 MB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.00406, allocations: 1.469 kB / 482.7 MB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.72e-05/0.004158, allocations: 54.95 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.004164, allocations: 0.7344 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.00417, allocations: 0.9062 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.004175, allocations: 1.031 kB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.004195, allocations: 8.875 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.004389, allocations: 153.5 kB / 482.9 MB, free: 3.922 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.324e-05/0.004433, allocations: 27.5 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.004449, allocations: 8.922 kB / 483 MB, free: 3.875 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003052/0.004754, allocations: 75.25 kB / 483 MB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.004777, allocations: 30.56 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.004778, allocations: 0 / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001119/0.00489, allocations: 46.53 kB / 483.1 MB, free: 3.715 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.00492, allocations: 55.34 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.004976, allocations: 105.1 kB / 483.3 MB, free: 3.535 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.004987, allocations: 29.7 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.005018, allocations: 85.58 kB / 483.4 MB, free: 3.414 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.005035, allocations: 3.953 kB / 483.4 MB, free: 3.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.005061, allocations: 13.72 kB / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.005147, allocations: 315.5 kB / 483.7 MB, free: 3.074 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.005156, allocations: 4.625 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-06/0.005164, allocations: 1.203 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.816e-05/0.005192, allocations: 18.09 kB / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005194, allocations: 0 / 483.7 MB, free: 3.051 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.341e-05/0.005248, allocations: 38.27 kB / 483.8 MB, free: 3.008 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.005258, allocations: 4.625 kB / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.005262, allocations: 0 / 483.8 MB, free: 3.004 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.005277, allocations: 8.797 kB / 483.8 MB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.005326, allocations: 7.938 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-06/0.005329, allocations: 1.781 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.005345, allocations: 0 / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.00535, allocations: 4 kB / 483.8 MB, free: 2.984 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 5.223e-05/0.005402, allocations: 106.6 kB / 483.9 MB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.005422, allocations: 4.641 kB / 483.9 MB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.546e-05/0.005488, allocations: 49.2 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.00549, allocations: 0 / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.005492, allocations: 7.875 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.005495, allocations: 0.625 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.005598, allocations: 61.91 kB / 484 MB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.005599, allocations: 1.625 kB / 484 MB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.271e-05/0.005622, allocations: 9.375 kB / 484 MB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005623, allocations: 4 kB / 484 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.005627, allocations: 1.219 kB / 484 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005628, allocations: 0 / 484 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005629, allocations: 0 / 484 MB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.873e-05/0.005698, allocations: 136.8 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-06/0.005703, allocations: 4 kB / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.005711, allocations: 0 / 484.2 MB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.309e-05/0.005754, allocations: 4.562 kB / 484.2 MB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.005779, allocations: 9.938 kB / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.005783, allocations: 5.906 kB / 484.2 MB, free: 2.551 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.139e-05/0.005794, allocations: 12.8 kB / 484.2 MB, free: 2.535 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005794, allocations: 3.938 kB / 484.2 MB, free: 2.531 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001962/0.00599, allocations: 19.89 kB / 484.2 MB, free: 2.512 MB / 442.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.0001333/0.006124, allocations: 95.16 kB / 484.3 MB, free: 2.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.904e-05/0.006173, allocations: 12.84 kB / 484.3 MB, free: 2.395 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.006175, allocations: 5.641 kB / 484.4 MB, free: 2.391 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.006187, allocations: 4.859 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.00633, allocations: 5.312 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001915/0.006521, allocations: 107.6 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.006556, allocations: 55.3 kB / 484.5 MB, free: 2.176 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.542e-05/0.006571, allocations: 4.5 kB / 484.5 MB, free: 2.172 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.006607, allocations: 51.95 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.006607, allocations: 1.562 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of Templates: time 0.00225/0.008858, allocations: 0.7154 MB / 485.3 MB, free: 1.449 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.541132261045277]