Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.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.001357/0.001357, allocations: 96.81 kB / 19.44 MB, free: 328 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.00149/0.00149, allocations: 157.3 kB / 22.75 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.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.238 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.21/1.21, allocations: 154.8 MB / 414.3 MB, free: 384 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5199 GB, free: 2.254 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.281e-05, allocations: 5.406 kB / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001621/0.001654, allocations: 0.5911 MB / 0.5205 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004978/0.002152, allocations: 163.5 kB / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.115e-05/0.002163, allocations: 0.9688 kB / 0.5206 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.002178, allocations: 3.938 kB / 0.5206 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.002183, allocations: 1.188 kB / 0.5206 GB, free: 1.52 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.002571, allocations: 55.75 kB / 0.5207 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.119e-05/0.002612, allocations: 4 kB / 0.5207 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.036e-05/0.002643, allocations: 1 kB / 0.5207 GB, free: 1.461 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.439e-05/0.002667, allocations: 4 kB / 0.5207 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.251e-05/0.002689, allocations: 0.9688 kB / 0.5207 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.002698, allocations: 0 / 0.5207 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.00288, allocations: 59.86 kB / 0.5208 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.002891, allocations: 0.875 kB / 0.5208 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.853e-05/0.00291, allocations: 0 / 0.5208 GB, free: 1.398 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.003041, allocations: 44.75 kB / 0.5208 GB, free: 1.355 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.003044, allocations: 0 / 0.5208 GB, free: 1.355 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.003045, allocations: 7.938 kB / 0.5208 GB, free: 1.348 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.003049, allocations: 0.5 kB / 0.5208 GB, free: 1.348 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.0003385/0.003387, allocations: 239.2 kB / 0.521 GB, free: 1.082 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.003425, allocations: 12.03 kB / 0.521 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.00347, allocations: 2.156 kB / 0.5211 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.003576, allocations: 109.7 kB / 0.5212 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.003588, allocations: 384 / 0.5212 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.003595, allocations: 384 / 0.5212 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/0.003689, allocations: 34.75 kB / 0.5212 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.003697, allocations: 1.969 kB / 0.5212 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.003704, allocations: 384 / 0.5212 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003709, allocations: 384 / 0.5212 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.003731, allocations: 7.938 kB / 0.5212 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.00388, allocations: 95.05 kB / 0.5213 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.019e-05/0.003931, allocations: 18.61 kB / 0.5213 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/0.003951, allocations: 12.86 kB / 0.5213 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005637/0.004515, allocations: 69.41 kB / 0.5214 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.004553, allocations: 35.31 kB / 0.5214 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.004554, allocations: 0 / 0.5214 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001673/0.004721, allocations: 35.17 kB / 0.5215 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.004769, allocations: 55.34 kB / 0.5215 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.089e-05/0.00483, allocations: 89.86 kB / 0.5216 GB, free: 424 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.004847, allocations: 27.05 kB / 0.5216 GB, free: 392 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.00489, allocations: 80.14 kB / 0.5217 GB, free: 308 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.004915, allocations: 4 kB / 0.5217 GB, free: 304 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.004944, allocations: 9.719 kB / 0.5217 GB, free: 288 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.005141, allocations: 323.5 kB / 0.522 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.005153, allocations: 4 kB / 0.522 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.18e-06/0.005158, allocations: 3.188 kB / 0.522 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.005189, allocations: 8.859 kB / 0.522 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00519, allocations: 0 / 0.522 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.438e-05/0.005245, allocations: 29.7 kB / 0.5221 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.00526, allocations: 5.875 kB / 0.5221 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.005265, allocations: 3.938 kB / 0.5221 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.005288, allocations: 4.562 kB / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.029e-05/0.005328, allocations: 3.938 kB / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.005336, allocations: 4.484 kB / 0.5221 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.005349, allocations: 4.625 kB / 0.5221 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.005353, allocations: 0 / 0.5221 GB, free: 15.88 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 8.785e-05/0.005441, allocations: 114.6 kB / 0.5222 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.005447, allocations: 0.8438 kB / 0.5222 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.31e-05/0.005531, allocations: 32.7 kB / 0.5222 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.005532, allocations: 1.125 kB / 0.5222 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.005541, allocations: 7.984 kB / 0.5222 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.005544, allocations: 0 / 0.5222 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.005647, allocations: 104.1 kB / 0.5223 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005648, allocations: 0 / 0.5223 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.057e-05/0.005659, allocations: 0 / 0.5223 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.00566, allocations: 0 / 0.5223 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.005668, allocations: 4 kB / 0.5223 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.005671, allocations: 3.938 kB / 0.5223 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005672, allocations: 0 / 0.5223 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.761e-05/0.00576, allocations: 67.81 kB / 0.5224 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-06/0.005766, allocations: 4 kB / 0.5224 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.987e-06/0.005775, allocations: 0 / 0.5224 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.005782, allocations: 0 / 0.5224 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.005794, allocations: 0 / 0.5224 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.005796, allocations: 0 / 0.5224 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.005839, allocations: 79.28 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005839, allocations: 0 / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001962/0.006035, allocations: 12.75 kB / 0.5225 GB, free: 15.4 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.0002338/0.006269, allocations: 129 kB / 0.5226 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.544e-05/0.006334, allocations: 5.469 kB / 0.5226 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.006338, allocations: 4 kB / 0.5226 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.41e-06/0.006344, allocations: 0 / 0.5226 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.006481, allocations: 6.422 kB / 0.5226 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.006704, allocations: 82.28 kB / 0.5227 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.278e-05/0.006767, allocations: 59.34 kB / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.638e-06/0.006777, allocations: 0 / 0.5228 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.0068, allocations: 8.5 kB / 0.5228 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.006801, allocations: 3.938 kB / 0.5228 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of Templates: time 0.0028/0.009601, allocations: 435.8 kB / 0.5232 GB, free: 14.64 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.66322087997105]