Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001352/0.001352, allocations: 77.08 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.001512/0.001512, allocations: 169.5 kB / 22.46 MB, free: 5.359 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.423/1.423, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.193/1.193, allocations: 154.6 MB / 413.8 MB, free: 5.207 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.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.6186 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.844e-05/4.069e-05, allocations: 3.844 kB / 0.6186 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.002415/0.002456, allocations: 0.5928 MB / 0.6192 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006186/0.003075, allocations: 167.4 kB / 0.6194 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.356e-05/0.003088, allocations: 0 / 0.6194 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.003108, allocations: 4 kB / 0.6194 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-06/0.003115, allocations: 0 / 0.6194 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.003618, allocations: 59.7 kB / 0.6194 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.812e-05/0.003667, allocations: 4 kB / 0.6194 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.009e-05/0.003727, allocations: 0 / 0.6194 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.484e-05/0.003761, allocations: 7.984 kB / 0.6194 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.333e-05/0.003785, allocations: 0 / 0.6194 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.003797, allocations: 0 / 0.6194 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002303/0.004028, allocations: 55.88 kB / 0.6195 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.004042, allocations: 0 / 0.6195 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.004059, allocations: 4 kB / 0.6195 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.004234, allocations: 43.88 kB / 0.6195 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004237, allocations: 0 / 0.6195 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.817e-06/0.004241, allocations: 3.984 kB / 0.6196 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.004255, allocations: 0 / 0.6196 GB, free: 3.555 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000389/0.004644, allocations: 242.4 kB / 0.6198 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.004692, allocations: 8.031 kB / 0.6198 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.004728, allocations: 4.875 kB / 0.6198 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.00483, allocations: 105.8 kB / 0.6199 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.004838, allocations: 384 / 0.6199 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.004853, allocations: 4.359 kB / 0.6199 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.004974, allocations: 38.2 kB / 0.6199 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.004984, allocations: 192 / 0.6199 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.004996, allocations: 4.375 kB / 0.6199 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.005001, allocations: 384 / 0.6199 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.005024, allocations: 3.938 kB / 0.6199 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.005192, allocations: 101.3 kB / 0.62 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.109e-05/0.005253, allocations: 18.61 kB / 0.6201 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.005273, allocations: 4.859 kB / 0.6201 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007584/0.006031, allocations: 79.97 kB / 0.6201 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.006075, allocations: 34.5 kB / 0.6202 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.006076, allocations: 0 / 0.6202 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001712/0.006248, allocations: 29.7 kB / 0.6202 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.006295, allocations: 51.41 kB / 0.6202 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.403e-05/0.006359, allocations: 93.86 kB / 0.6203 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.006385, allocations: 29.7 kB / 0.6204 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.006428, allocations: 80.27 kB / 0.6204 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.00647, allocations: 4 kB / 0.6204 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.006506, allocations: 17.64 kB / 0.6205 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.006696, allocations: 318.8 kB / 0.6208 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.006708, allocations: 0 / 0.6208 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.006715, allocations: 0 / 0.6208 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.00676, allocations: 12.8 kB / 0.6208 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006762, allocations: 0 / 0.6208 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.734e-05/0.006839, allocations: 37.69 kB / 0.6208 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.006863, allocations: 8 kB / 0.6208 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.00687, allocations: 4.094 kB / 0.6208 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.006889, allocations: 0 / 0.6208 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.742e-05/0.006947, allocations: 3.984 kB / 0.6208 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.006955, allocations: 0 / 0.6208 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.006974, allocations: 7.938 kB / 0.6208 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.006982, allocations: 4 kB / 0.6208 GB, free: 2.055 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 (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 0.0001149/0.007097, allocations: 107.7 kB / 0.6209 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-06/0.007104, allocations: 3.938 kB / 0.6209 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.007219, allocations: 40.64 kB / 0.621 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.007234, allocations: 3.984 kB / 0.621 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.007244, allocations: 8.031 kB / 0.621 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.007249, allocations: 0 / 0.621 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.00736, allocations: 97.27 kB / 0.6211 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.007361, allocations: 0 / 0.6211 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.007375, allocations: 0 / 0.6211 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007376, allocations: 4 kB / 0.6211 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.007387, allocations: 0 / 0.6211 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007388, allocations: 0 / 0.6211 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007389, allocations: 0 / 0.6211 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.007491, allocations: 69 kB / 0.6212 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-06/0.007496, allocations: 4.031 kB / 0.6212 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.007509, allocations: 4 kB / 0.6212 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.00752, allocations: 0 / 0.6212 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.007535, allocations: 0 / 0.6212 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.00754, allocations: 4 kB / 0.6212 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.007591, allocations: 75.28 kB / 0.6212 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007591, allocations: 0 / 0.6212 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003018/0.007893, allocations: 15.92 kB / 0.6213 GB, free: 1.566 MB / 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 (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.0002559/0.008149, allocations: 123.1 kB / 0.6214 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.155e-05/0.00823, allocations: 4 kB / 0.6214 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.008233, allocations: 0 / 0.6214 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.357e-05/0.008246, allocations: 3.984 kB / 0.6214 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.008421, allocations: 0 / 0.6214 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.008675, allocations: 88.8 kB / 0.6215 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.628e-05/0.008731, allocations: 55.36 kB / 0.6215 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.223e-05/0.008743, allocations: 128 / 0.6215 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.008763, allocations: 12.5 kB / 0.6215 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of SimCode: time 4.5e-07/0.008763, allocations: 0 / 0.6215 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of Templates: time 0.003598/0.01236, allocations: 420.4 kB / 0.6219 GB, free: 0.8203 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.675893489271402] Failed to read output from testmodel.py, exit status != 0: 0.023466452956199646 0.043577366 0.035203749 Calling exit ...