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.001294/0.001294, allocations: 80.53 kB / 19.18 MB, free: 2.52 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.001447/0.001447, allocations: 160.1 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.443/1.443, allocations: 177.1 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.199/1.199, 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.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.292e-06/1.292e-06, allocations: 0 / 0.6186 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.689e-05, allocations: 2.875 kB / 0.6186 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001501/0.001528, allocations: 0.5866 MB / 0.6192 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004782/0.002006, allocations: 172.3 kB / 0.6194 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.15e-05/0.002018, allocations: 0 / 0.6194 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.645e-05/0.002034, allocations: 8 kB / 0.6194 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.002039, allocations: 3.938 kB / 0.6194 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.002414, allocations: 51.81 kB / 0.6194 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.472e-05/0.002448, allocations: 3.938 kB / 0.6194 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.002494, allocations: 4 kB / 0.6195 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.282e-05/0.002517, allocations: 0 / 0.6195 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.83e-05/0.002535, allocations: 3.938 kB / 0.6195 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.002544, allocations: 0 / 0.6195 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.002731, allocations: 55.94 kB / 0.6195 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.002744, allocations: 3.984 kB / 0.6195 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.359e-05/0.002758, allocations: 8 kB / 0.6195 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.002882, allocations: 47.88 kB / 0.6196 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.002884, allocations: 0 / 0.6196 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002885, allocations: 0 / 0.6196 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.002888, allocations: 0 / 0.6196 GB, free: 3.547 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.0003136/0.003201, allocations: 234.4 kB / 0.6198 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.003241, allocations: 12.03 kB / 0.6198 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.003271, allocations: 0.9375 kB / 0.6198 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.003369, allocations: 113.7 kB / 0.6199 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.003382, allocations: 4.375 kB / 0.6199 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.003391, allocations: 8.312 kB / 0.6199 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.175e-05/0.003483, allocations: 30.27 kB / 0.6199 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.003492, allocations: 192 / 0.6199 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.003498, allocations: 384 / 0.62 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.003507, allocations: 4.359 kB / 0.62 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.083e-05/0.003528, allocations: 7.938 kB / 0.62 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.003652, allocations: 97.28 kB / 0.6201 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.78e-05/0.0037, allocations: 22.55 kB / 0.6201 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.003718, allocations: 8.859 kB / 0.6201 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005696/0.004288, allocations: 75.97 kB / 0.6202 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.004322, allocations: 34.56 kB / 0.6202 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.004323, allocations: 0 / 0.6202 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.00446, allocations: 37.69 kB / 0.6202 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.004502, allocations: 51.41 kB / 0.6203 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.634e-05/0.004548, allocations: 89.86 kB / 0.6204 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.004565, allocations: 25.7 kB / 0.6204 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.004606, allocations: 88.2 kB / 0.6205 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.004638, allocations: 3.984 kB / 0.6205 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.004668, allocations: 21.66 kB / 0.6205 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.00482, allocations: 318.8 kB / 0.6208 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.00483, allocations: 0 / 0.6208 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-06/0.004837, allocations: 4 kB / 0.6208 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.004861, allocations: 4.859 kB / 0.6208 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.004863, allocations: 0 / 0.6208 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.743e-05/0.00492, allocations: 37.69 kB / 0.6208 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.004933, allocations: 8.094 kB / 0.6208 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004937, allocations: 0 / 0.6208 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.00495, allocations: 0 / 0.6208 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/0.004993, allocations: 7.938 kB / 0.6209 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.004997, allocations: 0 / 0.6209 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.028e-05/0.005017, allocations: 7.875 kB / 0.6209 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005022, allocations: 0 / 0.6209 GB, free: 2.039 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 7.786e-05/0.0051, allocations: 111.7 kB / 0.621 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.005108, allocations: 4 kB / 0.621 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-05/0.005188, allocations: 36.69 kB / 0.621 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.00519, allocations: 4.031 kB / 0.621 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.005193, allocations: 3.938 kB / 0.621 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.005196, allocations: 0 / 0.621 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.1e-05/0.005287, allocations: 97.27 kB / 0.6211 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005288, allocations: 0 / 0.6211 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.226e-05/0.0053, allocations: 7.984 kB / 0.6211 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.005301, allocations: 0 / 0.6211 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.005306, allocations: 0 / 0.6211 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.005309, allocations: 4 kB / 0.6211 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.00531, allocations: 0 / 0.6211 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.962e-05/0.00539, allocations: 69.02 kB / 0.6212 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-06/0.005394, allocations: 0 / 0.6212 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.005404, allocations: 3.984 kB / 0.6212 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-06/0.005411, allocations: 4 kB / 0.6212 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.006e-05/0.005421, allocations: 0 / 0.6212 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.005422, allocations: 0 / 0.6212 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.005461, allocations: 75.28 kB / 0.6213 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.005461, allocations: 0 / 0.6213 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001951/0.005657, allocations: 12 kB / 0.6213 GB, free: 1.555 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.0002021/0.005859, allocations: 123.1 kB / 0.6214 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.905e-05/0.005938, allocations: 11.94 kB / 0.6214 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005939, allocations: 0 / 0.6214 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.925e-06/0.005947, allocations: 4 kB / 0.6214 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.006075, allocations: 4.562 kB / 0.6214 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.006317, allocations: 80.8 kB / 0.6215 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.288e-05/0.006369, allocations: 59.47 kB / 0.6215 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.134e-05/0.006381, allocations: 4 kB / 0.6216 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.839e-05/0.006399, allocations: 8.5 kB / 0.6216 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.0064, allocations: 4 kB / 0.6216 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of Templates: time 0.002904/0.009304, allocations: 424.9 kB / 0.622 GB, free: 0.793 MB / 0.5294 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.711659047752619] Failed to read output from testmodel.py, exit status != 0: 0.01808052510023117 0.033090616 0.027184278000000003 Calling exit ...