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.0007328/0.0007328, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007769/0.0007769, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.871/0.871, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.6966/0.6966, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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.6193 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.729e-05, allocations: 2.281 kB / 0.6193 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ0): time 0.002888/0.002915, allocations: 1.459 MB / 0.6208 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005467/0.003462, allocations: 235.2 kB / 0.621 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.003493, allocations: 4 kB / 0.621 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.003524, allocations: 0 / 0.621 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.503e-05/0.003569, allocations: 3.938 kB / 0.621 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004159/0.003985, allocations: 51.81 kB / 0.6211 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.00406, allocations: 35.8 kB / 0.6211 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.004152, allocations: 4 kB / 0.6211 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.747e-05/0.004209, allocations: 11.98 kB / 0.6211 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.004249, allocations: 8 kB / 0.6211 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.004263, allocations: 0 / 0.6211 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.004411, allocations: 59.92 kB / 0.6212 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.004427, allocations: 3.938 kB / 0.6212 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.004446, allocations: 8 kB / 0.6212 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.004606, allocations: 63.83 kB / 0.6212 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.004609, allocations: 4 kB / 0.6212 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004609, allocations: 0 / 0.6212 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.004614, allocations: 4 kB / 0.6212 GB, free: 11.01 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004218/0.005036, allocations: 270.2 kB / 0.6215 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.005075, allocations: 8.031 kB / 0.6215 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.00511, allocations: 8.891 kB / 0.6215 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/0.005205, allocations: 105.7 kB / 0.6216 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.005216, allocations: 384 / 0.6216 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.005227, allocations: 4.375 kB / 0.6216 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.005394, allocations: 50.23 kB / 0.6217 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.005402, allocations: 192 / 0.6217 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.005412, allocations: 4.375 kB / 0.6217 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.005418, allocations: 384 / 0.6217 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.005554, allocations: 39.89 kB / 0.6217 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.005848, allocations: 192.5 kB / 0.6219 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.005958, allocations: 38.59 kB / 0.6219 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.006022, allocations: 16.91 kB / 0.622 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003987/0.006421, allocations: 79.92 kB / 0.622 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.006446, allocations: 30.56 kB / 0.6221 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.006447, allocations: 0 / 0.6221 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003154/0.006763, allocations: 93.47 kB / 0.6221 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.006795, allocations: 55.53 kB / 0.6222 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.006859, allocations: 101.8 kB / 0.6223 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.006873, allocations: 25.7 kB / 0.6223 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.006911, allocations: 84.14 kB / 0.6224 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.006929, allocations: 3.953 kB / 0.6224 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.006963, allocations: 13.72 kB / 0.6224 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.007062, allocations: 318.8 kB / 0.6227 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.00713, allocations: 11.98 kB / 0.6227 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.667e-05/0.007187, allocations: 15.98 kB / 0.6227 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.007302, allocations: 40.89 kB / 0.6228 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.007303, allocations: 0 / 0.6228 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001597/0.007463, allocations: 69.59 kB / 0.6229 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.007476, allocations: 7.938 kB / 0.6229 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.007482, allocations: 3.938 kB / 0.6229 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.007495, allocations: 0 / 0.6229 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.007571, allocations: 16.02 kB / 0.6229 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.007577, allocations: 0 / 0.6229 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.007613, allocations: 7.984 kB / 0.6229 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.007618, allocations: 0 / 0.6229 GB, free: 9.152 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 (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 6.996e-05/0.007688, allocations: 114.8 kB / 0.623 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.00771, allocations: 192 / 0.623 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.007903, allocations: 92.67 kB / 0.6231 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.007907, allocations: 8.016 kB / 0.6231 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.007912, allocations: 4 kB / 0.6231 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.007915, allocations: 0 / 0.6231 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.008039, allocations: 101.3 kB / 0.6232 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.00804, allocations: 0 / 0.6232 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.008083, allocations: 11.98 kB / 0.6232 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008085, allocations: 0 / 0.6232 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.008091, allocations: 0 / 0.6232 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.008094, allocations: 3.938 kB / 0.6232 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.008095, allocations: 0 / 0.6232 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.008288, allocations: 167.5 kB / 0.6234 GB, free: 8.598 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.008297, allocations: 4 kB / 0.6234 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.008308, allocations: 0 / 0.6234 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.008377, allocations: 11.92 kB / 0.6234 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.008412, allocations: 0 / 0.6234 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.008415, allocations: 3.938 kB / 0.6234 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.943e-05/0.008455, allocations: 87.27 kB / 0.6235 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.008455, allocations: 0 / 0.6235 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002596/0.008714, allocations: 12 kB / 0.6235 GB, free: 8.48 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 (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.0001754/0.00889, allocations: 115.2 kB / 0.6236 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.009064, allocations: 39.95 kB / 0.6236 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.009066, allocations: 0 / 0.6236 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.00913, allocations: 24.05 kB / 0.6237 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.009381, allocations: 0 / 0.6237 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003128/0.009694, allocations: 138.5 kB / 0.6238 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.801e-05/0.009752, allocations: 59.34 kB / 0.6238 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.009777, allocations: 8.5 kB / 0.6239 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.009778, allocations: 4 kB / 0.6239 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of Templates: time 0.001995/0.01177, allocations: 0.7888 MB / 0.6246 GB, free: 7.254 MB / 0.5886 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.008463164791465] Failed to read output from testmodel.py, exit status != 0: 0.016774903051555157 0.02411697 0.017864635 Calling exit ...