Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001046/0.001046, allocations: 80.48 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.001259/0.001259, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8584/0.8584, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7039/0.7039, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.562e-05/1.7e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0009512/0.0009682, allocations: 0.5955 MB / 0.6199 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003292/0.001297, allocations: 175.4 kB / 0.6201 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.119e-05/0.001309, allocations: 4 kB / 0.6201 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.001321, allocations: 0 / 0.6201 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.001327, allocations: 0 / 0.6201 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003244/0.001652, allocations: 55.7 kB / 0.6201 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 3.726e-05/0.001689, allocations: 8 kB / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.364e-05/0.001722, allocations: 0 / 0.6201 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.335e-05/0.001746, allocations: 7.984 kB / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.639e-05/0.001762, allocations: 0 / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.195e-06/0.00177, allocations: 0 / 0.6201 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.001911, allocations: 59.88 kB / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.001921, allocations: 0 / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.141e-05/0.001933, allocations: 0 / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.002039, allocations: 43.92 kB / 0.6202 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002041, allocations: 0 / 0.6202 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002042, allocations: 0 / 0.6202 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.002045, allocations: 0 / 0.6202 GB, free: 12.26 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.000208/0.002253, allocations: 254.3 kB / 0.6205 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.002285, allocations: 17.41 kB / 0.6205 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.00231, allocations: 0.9375 kB / 0.6205 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.12e-05/0.002361, allocations: 101.8 kB / 0.6206 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.00237, allocations: 384 / 0.6206 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.002377, allocations: 4.375 kB / 0.6206 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.977e-05/0.002447, allocations: 26.27 kB / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.002453, allocations: 192 / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.00246, allocations: 384 / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.002465, allocations: 384 / 0.6206 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.002484, allocations: 11.88 kB / 0.6206 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.652e-05/0.00257, allocations: 101.3 kB / 0.6207 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.138e-05/0.002602, allocations: 22.61 kB / 0.6208 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.329e-05/0.002615, allocations: 4.859 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003722/0.002987, allocations: 75.97 kB / 0.6208 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.003005, allocations: 34.56 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.003006, allocations: 0 / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001047/0.003111, allocations: 37.64 kB / 0.6209 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.003135, allocations: 51.41 kB / 0.621 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.387e-05/0.003159, allocations: 89.86 kB / 0.621 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.003167, allocations: 25.7 kB / 0.6211 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.721e-05/0.003184, allocations: 84.14 kB / 0.6211 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.003207, allocations: 0 / 0.6211 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.003227, allocations: 13.72 kB / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.664e-05/0.003293, allocations: 318.8 kB / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.883e-06/0.0033, allocations: 0 / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.003304, allocations: 4 kB / 0.6215 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.003323, allocations: 9.047 kB / 0.6215 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.003324, allocations: 7.938 kB / 0.6215 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.886e-05/0.003353, allocations: 33.7 kB / 0.6215 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.003362, allocations: 4 kB / 0.6215 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.003366, allocations: 0 / 0.6215 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.003376, allocations: 0 / 0.6215 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.414e-05/0.00341, allocations: 4 kB / 0.6215 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.003415, allocations: 3.984 kB / 0.6215 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.792e-06/0.003422, allocations: 3.938 kB / 0.6215 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.003426, allocations: 0 / 0.6215 GB, free: 10.77 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.002e-05/0.003476, allocations: 122.8 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-06/0.003478, allocations: 0 / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.003532, allocations: 40.64 kB / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-06/0.003533, allocations: 0 / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.003537, allocations: 0 / 0.6217 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.003541, allocations: 11.92 kB / 0.6217 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.508e-05/0.003586, allocations: 97.27 kB / 0.6218 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003587, allocations: 4 kB / 0.6218 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.003592, allocations: 0 / 0.6218 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.003593, allocations: 32 / 0.6218 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.003597, allocations: 4 kB / 0.6218 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.003598, allocations: 0 / 0.6218 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.003598, allocations: 0 / 0.6218 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.692e-05/0.003635, allocations: 61.06 kB / 0.6219 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-06/0.003641, allocations: 11.94 kB / 0.6219 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.735e-06/0.003649, allocations: 4 kB / 0.6219 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-06/0.003654, allocations: 4 kB / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.003664, allocations: 3.938 kB / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.12e-07/0.003665, allocations: 0 / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.802e-05/0.003683, allocations: 75.28 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.003683, allocations: 4.031 kB / 0.622 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001315/0.003814, allocations: 15.94 kB / 0.622 GB, free: 10.25 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.0001287/0.003943, allocations: 115.2 kB / 0.6221 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.116e-05/0.003994, allocations: 4 kB / 0.6221 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.003996, allocations: 0 / 0.6221 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-06/0.004, allocations: 8.062 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.05e-05/0.004091, allocations: 3.984 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001498/0.00424, allocations: 102.7 kB / 0.6222 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.919e-05/0.00427, allocations: 51.36 kB / 0.6222 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/0.004282, allocations: 8.5 kB / 0.6223 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of SimCode: time 5.61e-07/0.004282, allocations: 7.938 kB / 0.6223 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of Templates: time 0.00129/0.005573, allocations: 0.5621 MB / 0.6228 GB, free: 9.328 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.946893474087119] Failed to read output from testmodel.py, exit status != 0: 0.009859692305326462 0.017818678 0.014152036000000002 Calling exit ...