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.001374/0.001374, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001468/0.001468, allocations: 159 kB / 22.45 MB, free: 5.375 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.451/1.451, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.216/1.216, allocations: 154.6 MB / 413.8 MB, free: 5.227 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.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.522e-06/1.522e-06, allocations: 0 / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.447e-05, allocations: 6.281 kB / 0.6186 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002881/0.002916, allocations: 1.436 MB / 0.62 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005906/0.003506, allocations: 243.2 kB / 0.6202 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.003537, allocations: 0 / 0.6202 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.003562, allocations: 0 / 0.6202 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.398e-05/0.003606, allocations: 7.938 kB / 0.6202 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.004001, allocations: 67.72 kB / 0.6203 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.82e-05/0.00407, allocations: 27.88 kB / 0.6203 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.881e-05/0.004158, allocations: 7.984 kB / 0.6203 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.004206, allocations: 8 kB / 0.6203 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.004251, allocations: 15.92 kB / 0.6204 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.004265, allocations: 4 kB / 0.6204 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.004429, allocations: 67.86 kB / 0.6204 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.004443, allocations: 0 / 0.6204 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.004465, allocations: 4 kB / 0.6204 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.004634, allocations: 71.77 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.004638, allocations: 0 / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004638, allocations: 0 / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004642, allocations: 0 / 0.6205 GB, free: 2.57 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.0005262/0.005168, allocations: 270.2 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.005216, allocations: 16.03 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.005257, allocations: 4.891 kB / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.005403, allocations: 105.8 kB / 0.6209 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.005419, allocations: 4.312 kB / 0.6209 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.005429, allocations: 384 / 0.6209 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.005643, allocations: 50.23 kB / 0.6209 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.005654, allocations: 192 / 0.6209 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.005666, allocations: 384 / 0.6209 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.005672, allocations: 384 / 0.6209 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.005861, allocations: 43.89 kB / 0.621 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.006226, allocations: 188.6 kB / 0.6212 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.006383, allocations: 42.48 kB / 0.6212 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.006474, allocations: 16.91 kB / 0.6212 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005773/0.007051, allocations: 79.92 kB / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.007091, allocations: 34.55 kB / 0.6213 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.007092, allocations: 0 / 0.6213 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000407/0.007499, allocations: 81.59 kB / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.007549, allocations: 55.34 kB / 0.6215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.007651, allocations: 101.8 kB / 0.6215 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.007671, allocations: 29.83 kB / 0.6216 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.007724, allocations: 84.14 kB / 0.6217 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.007742, allocations: 3.953 kB / 0.6217 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.007781, allocations: 25.64 kB / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.007955, allocations: 310.8 kB / 0.622 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/0.008037, allocations: 11.98 kB / 0.622 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.767e-05/0.008115, allocations: 19.98 kB / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.008273, allocations: 40.88 kB / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.008275, allocations: 0 / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002046/0.00848, allocations: 69.56 kB / 0.6221 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.008496, allocations: 7.938 kB / 0.6221 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.008504, allocations: 7.922 kB / 0.6221 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.008522, allocations: 7.984 kB / 0.6221 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.508e-05/0.008607, allocations: 4 kB / 0.6221 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.008613, allocations: 0 / 0.6221 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.008662, allocations: 12.02 kB / 0.6222 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.008667, allocations: 0 / 0.6222 GB, free: 0.6992 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 0.000106/0.008774, allocations: 119.6 kB / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.008797, allocations: 0 / 0.6223 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.009042, allocations: 76.91 kB / 0.6223 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.009045, allocations: 0 / 0.6223 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.009051, allocations: 3.984 kB / 0.6223 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.009055, allocations: 4.031 kB / 0.6224 GB, free: 496 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.009201, allocations: 97.33 kB / 0.6224 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.009202, allocations: 0 / 0.6224 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.009265, allocations: 19.92 kB / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.009267, allocations: 192 / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.009274, allocations: 0 / 0.6225 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.009277, allocations: 3.938 kB / 0.6225 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.009278, allocations: 0 / 0.6225 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.009547, allocations: 163.5 kB / 0.6226 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.009558, allocations: 11.98 kB / 0.6226 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.00957, allocations: 0 / 0.6226 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.009648, allocations: 11.92 kB / 0.6226 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.009682, allocations: 0 / 0.6226 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.009686, allocations: 0 / 0.6226 GB, free: 140 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.009743, allocations: 87.27 kB / 0.6227 GB, free: 52 kB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.009743, allocations: 0 / 0.6227 GB, free: 52 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002518/0.009995, allocations: 16 kB / 0.6227 GB, free: 36 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.0002614/0.01026, allocations: 127.1 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.01049, allocations: 35.91 kB / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01049, allocations: 0 / 0.6229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.957e-05/0.01058, allocations: 19.98 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.01082, allocations: 8.109 kB / 0.6229 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.01114, allocations: 108.8 kB / 0.623 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.622e-05/0.01119, allocations: 55.36 kB / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.01121, allocations: 0 / 0.6231 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.01124, allocations: 12.5 kB / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.01124, allocations: 0 / 0.6231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of Templates: time 0.003603/0.01484, allocations: 0.7026 MB / 0.6238 GB, free: 14.93 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.78511344268918] Failed to read output from testmodel.py, exit status != 0: 0.023823879659175873 0.039516889 0.03174925 Calling exit ...