Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001457/0.001457, allocations: 81.86 kB / 19.87 MB, free: 4.625 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.00167/0.00167, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9888/0.9888, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.7484/0.7484, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5208 GB, free: 1.883 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.767e-05, allocations: 4.812 kB / 0.5208 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.001746/0.001764, allocations: 1.481 MB / 0.5222 GB, free: 416 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00043/0.002194, allocations: 253.2 kB / 0.5225 GB, free: 164 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.002222, allocations: 4 kB / 0.5225 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.002244, allocations: 1.625 kB / 0.5225 GB, free: 160 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.952e-05/0.002283, allocations: 3.938 kB / 0.5225 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.002575, allocations: 59.7 kB / 0.5225 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.238e-05/0.002628, allocations: 28.84 kB / 0.5226 GB, free: 68 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.264e-05/0.00271, allocations: 4 kB / 0.5226 GB, free: 64 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.002766, allocations: 11.98 kB / 0.5226 GB, free: 52 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.87e-05/0.002804, allocations: 9.391 kB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.002815, allocations: 4 kB / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.002943, allocations: 59.88 kB / 0.5226 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.002959, allocations: 7.984 kB / 0.5226 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.337e-05/0.002972, allocations: 1.156 kB / 0.5226 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.003088, allocations: 67.78 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.003089, allocations: 0 / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.51e-07/0.00309, allocations: 0.6875 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.545e-06/0.003092, allocations: 0 / 0.5227 GB, free: 15.91 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.0003264/0.003419, allocations: 353.9 kB / 0.523 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.003453, allocations: 12.03 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.003479, allocations: 8.828 kB / 0.5231 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.003558, allocations: 121.8 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.003569, allocations: 384 / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.003577, allocations: 4.375 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.959e-05/0.003667, allocations: 47.58 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.003673, allocations: 2.031 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-06/0.003679, allocations: 384 / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.003684, allocations: 4.375 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.749e-05/0.003701, allocations: 7.875 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.00391, allocations: 240.4 kB / 0.5235 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.425e-05/0.003945, allocations: 28.75 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.422e-05/0.003959, allocations: 11.75 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.004214, allocations: 73.39 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.004234, allocations: 38.3 kB / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.004236, allocations: 0 / 0.5236 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001021/0.004338, allocations: 46.95 kB / 0.5237 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.004363, allocations: 51.41 kB / 0.5237 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/0.004426, allocations: 161.9 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.004435, allocations: 26.2 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.004473, allocations: 134.9 kB / 0.524 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.004487, allocations: 4.984 kB / 0.524 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.004511, allocations: 19.38 kB / 0.524 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.004623, allocations: 497.3 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-06/0.00463, allocations: 0 / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.004637, allocations: 4 kB / 0.5245 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.139e-05/0.004658, allocations: 21.39 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.00466, allocations: 0 / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.474e-05/0.004714, allocations: 41.7 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.004726, allocations: 4 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.00473, allocations: 2.062 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.004744, allocations: 8.125 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.481e-05/0.004789, allocations: 7.984 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.004792, allocations: 0 / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.37e-05/0.004806, allocations: 0 / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.00481, allocations: 6.438 kB / 0.5246 GB, free: 13.77 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.984e-05/0.00487, allocations: 152.6 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.004881, allocations: 11.86 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.004944, allocations: 48.59 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.004948, allocations: 3.938 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.004949, allocations: 2.188 kB / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.004952, allocations: 0 / 0.5248 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.005355, allocations: 97.25 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005356, allocations: 0 / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/0.005375, allocations: 8 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.005377, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.00538, allocations: 1.031 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.00538, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.1e-07/0.005381, allocations: 0 / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.597e-05/0.005457, allocations: 200.7 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-06/0.005461, allocations: 0 / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-06/0.005468, allocations: 3.219 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.692e-05/0.005495, allocations: 4 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.351e-05/0.005518, allocations: 3.984 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.005521, allocations: 3.938 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.005551, allocations: 127.2 kB / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005551, allocations: 0 / 0.5253 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001461/0.005697, allocations: 15.94 kB / 0.5253 GB, free: 13.05 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.0001387/0.005836, allocations: 118 kB / 0.5254 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.746e-05/0.005893, allocations: 15.69 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005894, allocations: 0 / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.63e-05/0.00591, allocations: 21.17 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.006061, allocations: 0 / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001794/0.00624, allocations: 115.6 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.746e-05/0.006267, allocations: 55.3 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.545e-05/0.006283, allocations: 8.656 kB / 0.5256 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.006317, allocations: 66.2 kB / 0.5256 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of SimCode: time 4.71e-07/0.006318, allocations: 0.8438 kB / 0.5256 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.002099/0.008417, allocations: 0.7756 MB / 0.5264 GB, free: 11.86 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7119619203731418]