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.001309/0.001309, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001385/0.001385, allocations: 166.6 kB / 22.46 MB, free: 5.355 MB / 14.72 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.472/1.472, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.208/1.208, allocations: 154.6 MB / 413.8 MB, free: 5.215 MB / 382.1 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 178] 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.784e-06/1.784e-06, allocations: 0 / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.426e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002787/0.002821, allocations: 1.448 MB / 0.62 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005782/0.003399, allocations: 227.3 kB / 0.6202 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.003434, allocations: 0 / 0.6202 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.003463, allocations: 3.984 kB / 0.6202 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.352e-05/0.003516, allocations: 3.938 kB / 0.6202 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.003925, allocations: 63.75 kB / 0.6203 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.141e-05/0.003996, allocations: 23.94 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.401e-05/0.00409, allocations: 7.984 kB / 0.6203 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.523e-05/0.004146, allocations: 8 kB / 0.6203 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.004192, allocations: 15.97 kB / 0.6203 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.004206, allocations: 3.938 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.004368, allocations: 59.88 kB / 0.6204 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.004384, allocations: 4 kB / 0.6204 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.004411, allocations: 8 kB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.004583, allocations: 59.78 kB / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.004586, allocations: 0 / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004587, allocations: 3.938 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.004591, allocations: 0 / 0.6205 GB, free: 2.602 MB / 0.5294 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.0005445/0.005136, allocations: 270.3 kB / 0.6207 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.005175, allocations: 12.03 kB / 0.6207 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.005216, allocations: 8.875 kB / 0.6208 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.005364, allocations: 113.7 kB / 0.6209 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.005377, allocations: 384 / 0.6209 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.005388, allocations: 4.359 kB / 0.6209 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.00558, allocations: 54.17 kB / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.00559, allocations: 192 / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.005599, allocations: 384 / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.005607, allocations: 4.375 kB / 0.6209 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.005784, allocations: 35.91 kB / 0.621 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.006145, allocations: 192.6 kB / 0.6211 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.006294, allocations: 38.5 kB / 0.6212 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.382e-05/0.006388, allocations: 24.89 kB / 0.6212 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004983/0.006886, allocations: 71.92 kB / 0.6213 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.006921, allocations: 34.56 kB / 0.6213 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.006922, allocations: 0 / 0.6213 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003784/0.007301, allocations: 81.58 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.007361, allocations: 55.41 kB / 0.6214 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.937e-05/0.00745, allocations: 97.8 kB / 0.6215 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.00747, allocations: 29.83 kB / 0.6216 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.007534, allocations: 88.12 kB / 0.6216 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.918e-05/0.007553, allocations: 7.953 kB / 0.6217 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.007584, allocations: 9.719 kB / 0.6217 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.007739, allocations: 314.8 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.435e-05/0.007823, allocations: 15.98 kB / 0.622 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.559e-05/0.007898, allocations: 19.97 kB / 0.622 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.008057, allocations: 44.83 kB / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.008059, allocations: 0 / 0.622 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002148/0.008273, allocations: 69.61 kB / 0.6221 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.008288, allocations: 6.344 kB / 0.6221 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.008296, allocations: 3.938 kB / 0.6221 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.008311, allocations: 0 / 0.6221 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.788e-05/0.008399, allocations: 15.92 kB / 0.6221 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.008403, allocations: 0 / 0.6221 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.00845, allocations: 8.031 kB / 0.6221 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.008454, allocations: 0 / 0.6221 GB, free: 0.7305 MB / 0.5294 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 8.461e-05/0.008539, allocations: 115.7 kB / 0.6222 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.008565, allocations: 4 kB / 0.6223 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.008825, allocations: 68.91 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008828, allocations: 3.938 kB / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.008831, allocations: 0 / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.008836, allocations: 4 kB / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.008971, allocations: 109.3 kB / 0.6224 GB, free: 396 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.008974, allocations: 4 kB / 0.6224 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.009029, allocations: 4 kB / 0.6224 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.009031, allocations: 0 / 0.6224 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.009042, allocations: 3.984 kB / 0.6224 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-05/0.009062, allocations: 11.88 kB / 0.6225 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009063, allocations: 0 / 0.6225 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.009331, allocations: 159.5 kB / 0.6226 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.009341, allocations: 7.984 kB / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.009354, allocations: 0 / 0.6226 GB, free: 188 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.009429, allocations: 7.938 kB / 0.6226 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.009473, allocations: 7.984 kB / 0.6226 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.009476, allocations: 192 / 0.6226 GB, free: 172 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.414e-05/0.00954, allocations: 87.27 kB / 0.6227 GB, free: 84 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.00954, allocations: 0 / 0.6227 GB, free: 84 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002529/0.009793, allocations: 15.94 kB / 0.6227 GB, free: 68 kB / 0.5294 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.0002222/0.01002, allocations: 123.2 kB / 0.6228 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002374/0.01025, allocations: 39.89 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.01025, allocations: 0 / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.868e-05/0.01034, allocations: 23.92 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01058, allocations: 8.125 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.01087, allocations: 104.8 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.409e-05/0.01094, allocations: 63.34 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.822e-05/0.01096, allocations: 0 / 0.6231 GB, free: 15.65 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.01098, allocations: 8.5 kB / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.01098, allocations: 0 / 0.6231 GB, free: 15.64 MB / 0.545 GB Notification: Performance of Templates: time 0.003193/0.01417, allocations: 0.689 MB / 0.6238 GB, free: 14.97 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.697793558239937] Failed to read output from testmodel.py, exit status != 0: 0.02261212095618248 0.037634930000000004 0.029947751 Calling exit ...