Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000758/0.000758, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0008546/0.0008546, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.898/0.898, allocations: 177.1 MB / 203.5 MB, free: 5.723 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-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 0.704/0.704, allocations: 154.6 MB / 414.5 MB, free: 0.7852 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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/2.988e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0012/0.00123, allocations: 0.5978 MB / 0.62 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003334/0.001564, allocations: 175.4 kB / 0.6201 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.064e-05/0.001574, allocations: 4 kB / 0.6201 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.001586, allocations: 0 / 0.6201 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.001592, allocations: 0 / 0.6201 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.001904, allocations: 59.75 kB / 0.6202 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.417e-05/0.001938, allocations: 0 / 0.6202 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.001974, allocations: 0 / 0.6202 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.001996, allocations: 0 / 0.6202 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.002014, allocations: 3.938 kB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.116e-06/0.002022, allocations: 4 kB / 0.6202 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.002155, allocations: 59.81 kB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.002166, allocations: 0 / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.344e-05/0.002179, allocations: 11.98 kB / 0.6203 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.002281, allocations: 43.88 kB / 0.6203 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.002283, allocations: 0 / 0.6203 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.152e-06/0.002284, allocations: 0 / 0.6203 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002288, allocations: 0 / 0.6203 GB, free: 12.12 MB / 0.5886 GB 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.0002117/0.0025, allocations: 242.4 kB / 0.6205 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.002531, allocations: 8.031 kB / 0.6206 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.002558, allocations: 0.9375 kB / 0.6206 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.958e-05/0.002607, allocations: 109.8 kB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.002615, allocations: 384 / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.792e-06/0.002622, allocations: 384 / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.811e-05/0.00269, allocations: 34.2 kB / 0.6207 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.002695, allocations: 4.188 kB / 0.6207 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.002702, allocations: 384 / 0.6207 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.002706, allocations: 384 / 0.6207 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.002722, allocations: 7.922 kB / 0.6207 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.479e-05/0.002807, allocations: 97.33 kB / 0.6208 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.316e-05/0.00284, allocations: 18.58 kB / 0.6208 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.002853, allocations: 4.859 kB / 0.6208 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004042/0.003257, allocations: 87.94 kB / 0.6209 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.003282, allocations: 34.56 kB / 0.6209 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.003283, allocations: 0 / 0.6209 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001028/0.003386, allocations: 29.7 kB / 0.621 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.00341, allocations: 51.41 kB / 0.621 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.886e-05/0.003439, allocations: 89.86 kB / 0.6211 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.003448, allocations: 25.7 kB / 0.6211 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.888e-05/0.003467, allocations: 92.2 kB / 0.6212 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.003489, allocations: 0 / 0.6212 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.003509, allocations: 13.72 kB / 0.6212 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.003587, allocations: 322.8 kB / 0.6215 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.003596, allocations: 0 / 0.6215 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-06/0.003601, allocations: 3.938 kB / 0.6215 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.009e-05/0.003621, allocations: 8.859 kB / 0.6215 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003622, allocations: 0 / 0.6215 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.953e-05/0.003662, allocations: 29.7 kB / 0.6216 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.003675, allocations: 4.094 kB / 0.6216 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.003679, allocations: 8 kB / 0.6216 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.003689, allocations: 0 / 0.6216 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.615e-05/0.003725, allocations: 3.938 kB / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.00373, allocations: 3.984 kB / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-06/0.00374, allocations: 7.875 kB / 0.6216 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.003743, allocations: 0 / 0.6216 GB, free: 10.63 MB / 0.5886 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 5.677e-05/0.0038, allocations: 122.8 kB / 0.6217 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-06/0.003804, allocations: 0 / 0.6217 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.003866, allocations: 40.66 kB / 0.6218 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.003868, allocations: 4.031 kB / 0.6218 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.003872, allocations: 0 / 0.6218 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.003875, allocations: 3.984 kB / 0.6218 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.078e-05/0.003926, allocations: 105.2 kB / 0.6219 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.003927, allocations: 0 / 0.6219 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.003935, allocations: 0 / 0.6219 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.003938, allocations: 3.984 kB / 0.6219 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.003944, allocations: 4 kB / 0.6219 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.003945, allocations: 0 / 0.6219 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.003946, allocations: 0 / 0.6219 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.561e-05/0.003992, allocations: 65 kB / 0.6219 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-06/0.003997, allocations: 8.031 kB / 0.6219 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-06/0.004004, allocations: 0 / 0.6219 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.526e-06/0.004008, allocations: 0 / 0.6219 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.004018, allocations: 0 / 0.6219 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.00402, allocations: 0 / 0.6219 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.084e-05/0.004041, allocations: 79.28 kB / 0.622 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.004041, allocations: 3.938 kB / 0.622 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001379/0.004179, allocations: 8 kB / 0.622 GB, free: 10.13 MB / 0.5886 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.0001542/0.004333, allocations: 123.1 kB / 0.6221 GB, free: 10 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.514e-05/0.004388, allocations: 8 kB / 0.6222 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.004389, allocations: 0 / 0.6222 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.004394, allocations: 7.938 kB / 0.6222 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.186e-05/0.004485, allocations: 3.984 kB / 0.6222 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000163/0.004648, allocations: 98.72 kB / 0.6223 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.292e-05/0.004681, allocations: 55.36 kB / 0.6223 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.004695, allocations: 12.62 kB / 0.6223 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of SimCode: time 3.11e-07/0.004695, allocations: 0 / 0.6223 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of Templates: time 0.001405/0.0061, allocations: 0.5659 MB / 0.6229 GB, free: 9.199 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.105439997278154] Failed to read output from testmodel.py, exit status != 0: 0.011405800469219685 0.019629633 0.01573952 Calling exit ...