Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.001257/0.001257, 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.001161/0.001161, allocations: 169 kB / 23.02 MB, free: 1.551 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.9611/0.9611, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8493/0.8493, allocations: 154.6 MB / 414.5 MB, free: 0.6836 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.303e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.00232/0.002353, allocations: 1.48 MB / 0.5218 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004243/0.002777, allocations: 242.5 kB / 0.522 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.002804, allocations: 7.031 kB / 0.522 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.002833, allocations: 0 / 0.522 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.002875, allocations: 3.938 kB / 0.522 GB, free: 500 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.003226, allocations: 59.8 kB / 0.5221 GB, free: 440 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.123e-05/0.003287, allocations: 19.88 kB / 0.5221 GB, free: 420 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.206e-05/0.003379, allocations: 11.98 kB / 0.5221 GB, free: 408 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.297e-05/0.003432, allocations: 11.94 kB / 0.5221 GB, free: 396 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.06e-05/0.003473, allocations: 7.984 kB / 0.5221 GB, free: 388 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.003486, allocations: 0.5 kB / 0.5221 GB, free: 388 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.003606, allocations: 61.05 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.00362, allocations: 0 / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.003641, allocations: 11.94 kB / 0.5222 GB, free: 316 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.003772, allocations: 56.81 kB / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003774, allocations: 0 / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.003774, allocations: 0 / 0.5222 GB, free: 260 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.003778, allocations: 0.9688 kB / 0.5222 GB, free: 260 kB / 490.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.0003394/0.004118, allocations: 364.6 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.004154, allocations: 9.031 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.886e-05/0.004193, allocations: 16.89 kB / 0.5226 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.004273, allocations: 109.6 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.004284, allocations: 4.375 kB / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.004295, allocations: 384 / 0.5227 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.004402, allocations: 51.89 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.004412, allocations: 192 / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.004421, allocations: 1.594 kB / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.004428, allocations: 384 / 0.5228 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.629e-05/0.004464, allocations: 19.86 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.004732, allocations: 247.8 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/0.004784, allocations: 35.62 kB / 0.5231 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.00481, allocations: 9.438 kB / 0.5231 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.005111, allocations: 73.33 kB / 0.5231 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.005136, allocations: 41.38 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.005137, allocations: 0.6562 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001476/0.005284, allocations: 46.72 kB / 0.5232 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.005311, allocations: 51.41 kB / 0.5233 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.957e-05/0.00539, allocations: 161.9 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.005402, allocations: 26.42 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.005447, allocations: 130.9 kB / 0.5236 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.005464, allocations: 12.42 kB / 0.5236 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.005488, allocations: 15.38 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.005589, allocations: 496.7 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.005602, allocations: 5.172 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.588e-06/0.005612, allocations: 4 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.568e-05/0.005638, allocations: 21.44 kB / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.00564, allocations: 0 / 0.5241 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.412e-05/0.005684, allocations: 33.7 kB / 0.5241 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.005695, allocations: 4 kB / 0.5242 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.0057, allocations: 5.625 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.005713, allocations: 0 / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.005775, allocations: 11.98 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.005781, allocations: 0 / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/0.005796, allocations: 4 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.005802, allocations: 6.75 kB / 0.5242 GB, free: 14.08 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.549e-05/0.005857, allocations: 152.6 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.00587, allocations: 0 / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.005941, allocations: 56.47 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.005942, allocations: 0 / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.005945, allocations: 0 / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.005948, allocations: 5.953 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.267e-05/0.006031, allocations: 112.6 kB / 0.5245 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006032, allocations: 4 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.739e-05/0.006049, allocations: 7.984 kB / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.006051, allocations: 0 / 0.5245 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006057, allocations: 4.938 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006058, allocations: 7.875 kB / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006059, allocations: 0 / 0.5245 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.542e-05/0.006134, allocations: 188.6 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-06/0.00614, allocations: 10.39 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-06/0.006148, allocations: 0 / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/0.006178, allocations: 7.938 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.00621, allocations: 0 / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.006212, allocations: 0 / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.006244, allocations: 127.2 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006244, allocations: 0.875 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001514/0.006395, allocations: 19.94 kB / 0.5249 GB, free: 13.33 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.0001388/0.006534, allocations: 123.1 kB / 0.525 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.812e-05/0.006602, allocations: 11.69 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.006603, allocations: 0 / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.006619, allocations: 15.62 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.006788, allocations: 7.125 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003768/0.007165, allocations: 110.3 kB / 0.5251 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.007197, allocations: 59.34 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.294e-05/0.00721, allocations: 0 / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.007233, allocations: 8.5 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of SimCode: time 3.9e-07/0.007233, allocations: 0 / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of Templates: time 0.00213/0.009363, allocations: 0.6982 MB / 0.5259 GB, free: 12.27 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.994539339095354]