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.001051/0.001051, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001066/0.001066, allocations: 173 kB / 23.02 MB, free: 1.547 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.9682/0.9682, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8122/0.8122, allocations: 154.9 MB / 414.8 MB, free: 412 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.412e-06/1.412e-06, allocations: 0 / 0.5207 GB, free: 1.801 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.36e-05, allocations: 4.281 kB / 0.5207 GB, free: 1.797 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002105/0.002139, allocations: 1.482 MB / 0.5221 GB, free: 328 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004321/0.002571, allocations: 256.4 kB / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.002603, allocations: 0 / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.002637, allocations: 0 / 0.5224 GB, free: 76 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.002692, allocations: 3.938 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.003125, allocations: 63.8 kB / 0.5224 GB, free: 8 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.739e-05/0.003212, allocations: 27.94 kB / 0.5225 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/0.003308, allocations: 4.5 kB / 0.5225 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.003369, allocations: 12.73 kB / 0.5225 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.918e-05/0.003408, allocations: 11.94 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.003422, allocations: 0.8438 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.003568, allocations: 55.84 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.003588, allocations: 8.906 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.003609, allocations: 4 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.003764, allocations: 59.84 kB / 0.5226 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.003767, allocations: 4.906 kB / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.513e-06/0.003768, allocations: 0 / 0.5226 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.003774, allocations: 0 / 0.5226 GB, free: 15.82 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.0003851/0.004159, allocations: 365.2 kB / 0.523 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.004196, allocations: 9 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.004241, allocations: 8.891 kB / 0.523 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.004342, allocations: 114.4 kB / 0.5231 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.004353, allocations: 4.375 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.004365, allocations: 4.375 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.004493, allocations: 50.95 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004501, allocations: 192 / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.004511, allocations: 0.875 kB / 0.5232 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.00452, allocations: 9.328 kB / 0.5232 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.948e-05/0.004549, allocations: 11.88 kB / 0.5232 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.004825, allocations: 247.8 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.699e-05/0.004892, allocations: 32.31 kB / 0.5235 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.004916, allocations: 11.75 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003104/0.005226, allocations: 74.05 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.005247, allocations: 34.23 kB / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.083e-06/0.005248, allocations: 0 / 0.5236 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001401/0.005388, allocations: 58.58 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.005414, allocations: 51.41 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.005514, allocations: 163 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.005524, allocations: 25.7 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.005559, allocations: 126.9 kB / 0.524 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.005575, allocations: 8.891 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.005599, allocations: 19.38 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.0057, allocations: 496.7 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.005712, allocations: 0 / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.052e-05/0.005723, allocations: 8.703 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.615e-05/0.005749, allocations: 20.38 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.005751, allocations: 0 / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.688e-05/0.005798, allocations: 34.58 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.00581, allocations: 6.188 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.005816, allocations: 6.812 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.005827, allocations: 0 / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.005888, allocations: 11.98 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.005893, allocations: 0 / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.005908, allocations: 0 / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.005912, allocations: 0 / 0.5246 GB, free: 13.66 MB / 0.4948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.005969, allocations: 161.7 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.005981, allocations: 0 / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.006124, allocations: 56.88 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006125, allocations: 1.469 kB / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.006129, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006131, allocations: 0 / 0.5248 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.378e-05/0.006215, allocations: 112.6 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006216, allocations: 0.5625 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/0.006234, allocations: 13.12 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.006237, allocations: 3.984 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.006242, allocations: 0 / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.006244, allocations: 3.938 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.006245, allocations: 2.75 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.325e-05/0.006328, allocations: 192 kB / 0.5251 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.006334, allocations: 3.984 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/0.006343, allocations: 3.984 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.006372, allocations: 7.938 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.006405, allocations: 4 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.006407, allocations: 2.469 kB / 0.5251 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.006442, allocations: 127.2 kB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006442, allocations: 0 / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001541/0.006596, allocations: 19.94 kB / 0.5252 GB, free: 12.89 MB / 0.4948 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 (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.0001385/0.006734, allocations: 112.9 kB / 0.5254 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.006819, allocations: 20.25 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.00682, allocations: 0 / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-05/0.006837, allocations: 16.41 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.007, allocations: 4.656 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.007247, allocations: 120.8 kB / 0.5255 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.63e-05/0.007283, allocations: 59.34 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.474e-05/0.007298, allocations: 0 / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.007317, allocations: 8.5 kB / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.007318, allocations: 0 / 0.5256 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.002523/0.009841, allocations: 0.7525 MB / 0.5263 GB, free: 11.79 MB / 0.4948 GB " [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.739179626572877]