Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.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.001784/0.001784, allocations: 85.48 kB / 19.44 MB, free: 344 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.001929/0.001929, allocations: 173.6 kB / 22.76 MB, free: 1.664 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 1.637/1.637, allocations: 177.1 MB / 203.1 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 178] 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 1.346/1.346, allocations: 154.8 MB / 414.3 MB, free: 388 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 178] 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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.5199 GB, free: 2.207 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.009e-05, allocations: 3.094 kB / 0.5199 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001718/0.001748, allocations: 0.5972 MB / 0.5205 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004961/0.002244, allocations: 182.2 kB / 0.5207 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.254e-05/0.002257, allocations: 0.5 kB / 0.5207 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.062e-05/0.002267, allocations: 0.6562 kB / 0.5207 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.6e-06/0.002273, allocations: 1.031 kB / 0.5207 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.00267, allocations: 63.91 kB / 0.5207 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.852e-05/0.002708, allocations: 1.219 kB / 0.5207 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.002741, allocations: 0 / 0.5207 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.002771, allocations: 0 / 0.5207 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.506e-05/0.002796, allocations: 8.625 kB / 0.5207 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.002806, allocations: 0 / 0.5207 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.002982, allocations: 53.36 kB / 0.5208 GB, free: 1.332 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.002997, allocations: 4 kB / 0.5208 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.418e-05/0.003011, allocations: 0 / 0.5208 GB, free: 1.328 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.003151, allocations: 43.88 kB / 0.5208 GB, free: 1.285 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.644e-06/0.003154, allocations: 0.5 kB / 0.5208 GB, free: 1.285 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.003155, allocations: 0.7812 kB / 0.5208 GB, free: 1.285 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.003159, allocations: 0 / 0.5208 GB, free: 1.285 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004146/0.003573, allocations: 345.4 kB / 0.5212 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.003613, allocations: 8.031 kB / 0.5212 GB, free: 0.9023 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.003653, allocations: 8.875 kB / 0.5212 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.00376, allocations: 113.6 kB / 0.5213 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.003773, allocations: 384 / 0.5213 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-06/0.00378, allocations: 384 / 0.5213 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.927e-05/0.00388, allocations: 31.27 kB / 0.5213 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.003889, allocations: 192 / 0.5213 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.003897, allocations: 384 / 0.5213 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.003904, allocations: 4.984 kB / 0.5213 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.003932, allocations: 8.594 kB / 0.5213 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001582/0.00409, allocations: 112.6 kB / 0.5214 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.037e-05/0.00416, allocations: 27.81 kB / 0.5215 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.004184, allocations: 11.78 kB / 0.5215 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/0.004775, allocations: 75.66 kB / 0.5215 GB, free: 452 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.004814, allocations: 37.39 kB / 0.5216 GB, free: 404 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.004815, allocations: 0 / 0.5216 GB, free: 404 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001525/0.004967, allocations: 41.62 kB / 0.5216 GB, free: 356 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.005008, allocations: 52.59 kB / 0.5217 GB, free: 292 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.00509, allocations: 142.2 kB / 0.5218 GB, free: 136 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.005107, allocations: 25.7 kB / 0.5218 GB, free: 104 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.186e-05/0.005189, allocations: 127.4 kB / 0.522 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.005215, allocations: 0 / 0.522 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.00525, allocations: 23.94 kB / 0.522 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002614/0.005512, allocations: 497 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.648e-06/0.005522, allocations: 0 / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-06/0.00553, allocations: 4 kB / 0.5225 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.005557, allocations: 9.062 kB / 0.5225 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.005558, allocations: 0 / 0.5225 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.25e-05/0.005621, allocations: 42.12 kB / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.005633, allocations: 4.969 kB / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.005637, allocations: 0 / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.005651, allocations: 0 / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.804e-05/0.005689, allocations: 5.938 kB / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.005694, allocations: 0 / 0.5225 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.005705, allocations: 3.938 kB / 0.5225 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.00571, allocations: 0 / 0.5225 GB, free: 15.37 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 (1): * Single equations (assignments): 1 * 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 0.0001064/0.005816, allocations: 156.6 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.005823, allocations: 8.906 kB / 0.5227 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.18e-05/0.005904, allocations: 40.62 kB / 0.5227 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005906, allocations: 0.8125 kB / 0.5227 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.005908, allocations: 0 / 0.5227 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.005911, allocations: 1.125 kB / 0.5227 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.886e-05/0.00601, allocations: 108.6 kB / 0.5228 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006011, allocations: 4 kB / 0.5228 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.06e-05/0.006021, allocations: 1.125 kB / 0.5228 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.006028, allocations: 7.984 kB / 0.5228 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.006035, allocations: 4 kB / 0.5228 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.006036, allocations: 2.75 kB / 0.5228 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.006037, allocations: 0 / 0.5228 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.349e-05/0.00613, allocations: 68.39 kB / 0.5229 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.006139, allocations: 3.953 kB / 0.5229 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.006147, allocations: 4 kB / 0.5229 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-06/0.006156, allocations: 3.984 kB / 0.5229 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.006172, allocations: 0 / 0.5229 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.006174, allocations: 2.531 kB / 0.5229 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.231e-05/0.006236, allocations: 123.1 kB / 0.523 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006236, allocations: 0 / 0.523 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002003/0.006436, allocations: 15.94 kB / 0.5231 GB, free: 14.76 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 (1): * Single equations (assignments): 1 * 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.0002242/0.006661, allocations: 123.8 kB / 0.5232 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.672e-05/0.006737, allocations: 12.34 kB / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006739, allocations: 0 / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.567e-05/0.006755, allocations: 15.12 kB / 0.5232 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.006874, allocations: 2.75 kB / 0.5232 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.007082, allocations: 88.06 kB / 0.5233 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.24e-05/0.007135, allocations: 55.34 kB / 0.5233 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.315e-05/0.007148, allocations: 4 kB / 0.5233 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.007167, allocations: 8.5 kB / 0.5233 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.007167, allocations: 0 / 0.5233 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.003152/0.01032, allocations: 442.6 kB / 0.5238 GB, free: 13.98 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.100738759036176]