Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00136/0.00136, 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.001441/0.001441, allocations: 159.3 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.438/1.438, 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 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 1.216/1.216, allocations: 154.5 MB / 413.7 MB, free: 5.305 MB / 382.1 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 178] 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") translateModel(IDEAS.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.6185 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/2.999e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002636/0.002666, allocations: 1.452 MB / 0.6199 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005244/0.00319, allocations: 244.8 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.872e-05/0.003219, allocations: 0.9062 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.003244, allocations: 7.938 kB / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.00329, allocations: 6.547 kB / 0.6202 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.003628, allocations: 55.77 kB / 0.6202 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.83e-05/0.003686, allocations: 31.86 kB / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.172e-05/0.003758, allocations: 0 / 0.6203 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.003807, allocations: 15.97 kB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.686e-05/0.003844, allocations: 4 kB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.00386, allocations: 4 kB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.003996, allocations: 64.59 kB / 0.6204 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.004009, allocations: 3.938 kB / 0.6204 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.004027, allocations: 8 kB / 0.6204 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.004174, allocations: 63.83 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.00418, allocations: 4 kB / 0.6204 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00418, allocations: 0 / 0.6204 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.004184, allocations: 0 / 0.6204 GB, free: 2.68 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.0004336/0.004618, allocations: 270.2 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.004657, allocations: 13.47 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.004692, allocations: 4.891 kB / 0.6207 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.004806, allocations: 105.8 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.004819, allocations: 384 / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.004827, allocations: 4.375 kB / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.005001, allocations: 50.23 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.005013, allocations: 4.125 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.005021, allocations: 4.312 kB / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.005025, allocations: 384 / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.005195, allocations: 39.89 kB / 0.6209 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.005499, allocations: 188.6 kB / 0.6211 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.005632, allocations: 42.55 kB / 0.6211 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/0.005719, allocations: 16.91 kB / 0.6211 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/0.006253, allocations: 83.91 kB / 0.6212 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.006281, allocations: 34.5 kB / 0.6213 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.006282, allocations: 4 kB / 0.6213 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003532/0.006635, allocations: 89.56 kB / 0.6213 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.006678, allocations: 51.41 kB / 0.6214 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.006755, allocations: 97.86 kB / 0.6215 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.00677, allocations: 25.7 kB / 0.6215 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.006823, allocations: 92.11 kB / 0.6216 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.00684, allocations: 3.953 kB / 0.6216 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.006873, allocations: 17.84 kB / 0.6216 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.007003, allocations: 318.8 kB / 0.6219 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.007082, allocations: 11.98 kB / 0.6219 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.007162, allocations: 27.91 kB / 0.622 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.007311, allocations: 32.83 kB / 0.622 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.007313, allocations: 0 / 0.622 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.007512, allocations: 73.67 kB / 0.6221 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.007525, allocations: 4 kB / 0.6221 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.007531, allocations: 7.938 kB / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.007545, allocations: 0 / 0.6221 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.007624, allocations: 7.984 kB / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.007627, allocations: 0 / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.443e-05/0.007672, allocations: 4 kB / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.007677, allocations: 0 / 0.6221 GB, free: 0.8086 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 8.379e-05/0.00776, allocations: 126.7 kB / 0.6222 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.007785, allocations: 3.984 kB / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.008016, allocations: 80.86 kB / 0.6223 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.008018, allocations: 0 / 0.6223 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.008021, allocations: 0 / 0.6223 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.008023, allocations: 0 / 0.6223 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.008147, allocations: 101.3 kB / 0.6224 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.008148, allocations: 3.938 kB / 0.6224 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.008205, allocations: 12.03 kB / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008207, allocations: 4 kB / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.008213, allocations: 0 / 0.6224 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.00822, allocations: 11.91 kB / 0.6224 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008221, allocations: 0 / 0.6224 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.008463, allocations: 159.5 kB / 0.6226 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.008476, allocations: 11.94 kB / 0.6226 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.008487, allocations: 0 / 0.6226 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.008561, allocations: 7.938 kB / 0.6226 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.008592, allocations: 8.016 kB / 0.6226 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.008595, allocations: 0 / 0.6226 GB, free: 228 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.008641, allocations: 83.28 kB / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.008641, allocations: 0 / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002299/0.008871, allocations: 16 kB / 0.6227 GB, free: 128 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.0002101/0.009081, allocations: 119.2 kB / 0.6228 GB, free: 16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.009291, allocations: 35.95 kB / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009292, allocations: 0 / 0.6228 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.746e-05/0.00938, allocations: 23.92 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.0096, allocations: 2.531 kB / 0.6229 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.009882, allocations: 112.7 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.00994, allocations: 63.47 kB / 0.623 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.00996, allocations: 4 kB / 0.623 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.00998, allocations: 8.5 kB / 0.623 GB, free: 15.71 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.009981, allocations: 0 / 0.623 GB, free: 15.71 MB / 0.545 GB Notification: Performance of Templates: time 0.003146/0.01313, allocations: 0.6888 MB / 0.6237 GB, free: 15.02 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.773087028414011] Failed to read output from testmodel.py, exit status != 0: 0.021282397210597992 0.035491769 0.028214350000000003 Calling exit ...